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

# Delete Collection

> Permanently delete a collection.
Hard-deleting removes the collection resource itself.
For membership-only changes, use note add, remove, or move collection endpoints.



## OpenAPI

````yaml DELETE /v2/collections/{collection_id}
openapi: 3.1.0
info:
  title: Mem API
  description: An API that allows you to interact with the Mem platform.
  version: 1.0.0
servers:
  - url: https://api.mem.ai
security:
  - bearerAuth: []
paths:
  /v2/collections/{collection_id}:
    delete:
      tags:
        - external
        - external-v2
      summary: Delete Collection
      description: >-
        Permanently delete a collection.

        Hard-deleting removes the collection resource itself.

        For membership-only changes, use note add, remove, or move collection
        endpoints.
      operationId: app_src_api_routes_external_v2_collections_views_delete_collection
      parameters:
        - in: path
          name: collection_id
          schema:
            description: >-
              UUID of the collection to permanently delete. Use an ID returned
              by create/list/search. The caller must be able to access this
              collection.
            format: uuid
            title: Collection Id
            type: string
          required: true
          description: >-
            UUID of the collection to permanently delete. Use an ID returned by
            create/list/search. The caller must be able to access this
            collection.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteCollectionResponseSchema'
      x-codeSamples:
        - lang: bash
          label: cURL
          source: >-
            curl
            "https://api.mem.ai/v2/collections/01961d40-7a67-7049-a8a6-d5638cbaaeb9"
            \
                 --header "Content-Type: application/json" \
                 --header "Authorization: Bearer $MEM_API_KEY" \
                 --request DELETE
components:
  schemas:
    DeleteCollectionResponseSchema:
      example:
        request_id: api-request-036ed6c7-de00-459f-a89b-43d26aafe522
      properties:
        request_id:
          description: Identifier for this API request. Useful for tracing and support.
          title: Request Id
          type: string
      required:
        - request_id
      title: DeleteCollectionResponseSchema
      type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````