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

# Delete a world (default namespace)

> Optional JSON body can override the target `source`; otherwise the path identifies the world.



## OpenAPI

````yaml /openapi.yaml delete /worlds/{slug}
openapi: 3.0.0
info:
  title: Worlds API
  version: 1.0.0
  description: >
    API for managing and querying RDF-based worlds.


    **Namespaces:** Routes under `/namespaces/{namespace}/...` target a specific
    tenant namespace.

    The path segment `_` is reserved: it expands to the authenticated tenant
    default namespace

    (or the platform namespace when no tenant applies). Shorthand routes under
    `/worlds/...`

    use the default namespace and omit the `/namespaces/...` prefix.
servers:
  - url: https://api.wazoo.dev
    description: API
security:
  - bearerAuth: []
paths:
  /worlds/{slug}:
    parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
    delete:
      summary: Delete a world (default namespace)
      description: >-
        Optional JSON body can override the target `source`; otherwise the path
        identifies the world.
      operationId: deleteWorldDefaultNamespace
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteWorldBody'
      responses:
        '204':
          description: No Content
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    DeleteWorldBody:
      type: object
      properties:
        source:
          $ref: '#/components/schemas/WorldSource'
          description: Optional; defaults to the world identified by the URL path.
    WorldSource:
      description: >
        Target world: a qualified string (`namespace/slug`), `{ slug, namespace?
        }`, or `{ name }`

        (same qualified form as `name`).
      oneOf:
        - type: string
        - type: object
          required:
            - slug
          properties:
            slug:
              type: string
            namespace:
              type: string
            write:
              type: boolean
            schema:
              type: boolean
        - type: object
          required:
            - name
          properties:
            name:
              type: string
            write:
              type: boolean
            schema:
              type: boolean
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
      required:
        - error
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````