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

# Delete a workspace by id or identifier



## OpenAPI

````yaml delete /workspaces/{id-or-identifier}
openapi: 3.0.0
info:
  title: Identity
  description: ''
  version: 0.0.1
  contact:
    name: Delay Support
    url: https://d3lay.com/support
    email: dev@d3lay.com
servers:
  - url: http://localhost:{port}
    description: Local development server
    variables:
      port:
        enum:
          - '80'
          - '8080'
        default: '8080'
  - url: https://hive.test.delay.dev
    description: Integration testing server
security: []
tags:
  - name: User
  - name: Workspace
paths:
  /workspaces/{id-or-identifier}:
    delete:
      tags:
        - Workspace
      summary: Delete a workspace by id or identifier
      parameters:
        - $ref: '#/components/parameters/IDOrIdentifier'
        - $ref: '#/components/parameters/APIVersionHeader'
        - $ref: '#/components/parameters/ContentTypeHeader'
      responses:
        '204':
          $ref: 9cf5b63a-fc97-4622-9eeb-909090723921
          links: {}
        '400':
          $ref: b06f6465-79d8-4843-8f77-2322f3f60e07
          links: {}
        '401':
          $ref: e12596e7-ef96-4a65-a1f5-583cabaf1d66
          links: {}
        '403':
          $ref: 956dd0ef-ce7d-487d-83f7-63a8e9985cee
          links: {}
        '404':
          $ref: ba4a28df-a1c0-4499-b581-bdbb4a7a33ba
          links: {}
        '429':
          $ref: 8ffdc13c-c35b-4efa-babb-653b02e9b200
          links: {}
        '500':
          $ref: 8b03892c-44fa-456c-b1d0-867d105be333
      deprecated: false
      security:
        - BearerAuth: []
components:
  parameters:
    IDOrIdentifier:
      name: id-or-identifier
      in: path
      description: ''
      required: true
      example: delay
      schema:
        type: string
    APIVersionHeader:
      name: X-API-Version
      in: header
      description: Your API version
      schema:
        type: string
        enum:
          - v1
        default: v1
    ContentTypeHeader:
      name: Content-Type
      in: header
      description: ''
      required: false
      example: application/json
      schema:
        type: string
        enum:
          - application/json
          - application/xml
          - application/x-www-form-urlencoded
          - application/octet-stream
          - application/pdf
          - text/plain
          - text/html
          - multipart/form-data
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````