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

# Delete memory space (owner/admin only)



## OpenAPI

````yaml https://api.crosmos.dev/openapi.json delete /api/v1/spaces/{space_uuid}
openapi: 3.1.0
info:
  title: Crosmos API
  version: 0.1.0
servers:
  - url: /
security: []
paths:
  /api/v1/spaces/{space_uuid}:
    delete:
      tags:
        - spaces
      summary: Delete memory space (owner/admin only)
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: space_uuid
          in: path
      responses:
        '204':
          description: Deleted
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceErrorBody'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceErrorBody'
        '403':
          description: Insufficient role
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceErrorBody'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceErrorBody'
      security:
        - bearerAuth: []
components:
  schemas:
    SpaceErrorBody:
      type: object
      properties:
        detail:
          type: string
      required:
        - detail
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: JWT access token or API key (csk_...)

````