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

# Delete a collection

> Delete a help center collection. The collection must be empty: the request is rejected with 409 while
it still contains articles. Subcollections are not deleted; move or delete them first. Returns
`{ success: true }`.



## OpenAPI

````yaml https://api.gleap.io/api-docs.json delete /helpcenter/collections/{helpcenterCollectionId}
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /helpcenter/collections/{helpcenterCollectionId}:
    delete:
      tags:
        - Help center collections
      summary: Delete a collection
      description: >-
        Delete a help center collection. The collection must be empty: the
        request is rejected with 409 while

        it still contains articles. Subcollections are not deleted; move or
        delete them first. Returns

        `{ success: true }`.
      operationId: DeleteHelpcenterCollection
      parameters:
        - in: path
          name: helpcenterCollectionId
          required: true
          schema:
            type: string
        - in: header
          name: project
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                properties:
                  success:
                    type: boolean
                required:
                  - success
                type: object
      security:
        - jwt: []
components:
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT

````