> ## Documentation Index
> Fetch the complete documentation index at: https://docs.no-tickets.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a project

> Requires the manage:projects permission on the caller’s session.



## OpenAPI

````yaml /api-reference/openapi.json delete /v1/projects/{projectId}
openapi: 3.1.0
info:
  title: no-tickets API
  version: 0.1.0
  description: REST API for the no-tickets team dashboard.
servers: []
security: []
paths:
  /v1/projects/{projectId}:
    delete:
      tags:
        - projects
      summary: Delete a project
      description: Requires the manage:projects permission on the caller’s session.
      operationId: deleteProject
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
      responses:
        '204':
          description: Deleted
        '401':
          description: No session cookie
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Missing manage:projects permission
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - sessionAuth: []
components:
  schemas:
    ErrorResponse:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        error:
          type: string
        code:
          type: string
          enum:
            - AUTH_REQUIRED
            - EMPTY_QUERY_FILTER
            - INSUFFICIENT_PERMISSIONS
            - ONBOARDING_REQUIRED
            - PROJECT_NAME_TAKEN
            - PROJECT_NOT_FOUND
            - TEAM_MEMBERSHIP_REQUIRED
            - VALIDATION_FAILED
        docsUrl:
          type: string
      required:
        - error
        - code
        - docsUrl
      additionalProperties: false
  securitySchemes:
    sessionAuth:
      type: apiKey
      in: cookie
      name: session

````