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

# Delete organisations schemas

> DeleteSchema deletes an unpublished schema.



## OpenAPI

````yaml delete /organisations/{organisationId}/schemas/{id}
openapi: 3.0.3
info:
  title: Switchboard API
  description: >-
    The Switchboard API provides users the ability to manage their Apps,
    Integrations and Workflows
  version: 0.0.1-alpha.0
servers:
  - url: https://platform.versori.com/api/switchboard/v1alpha1/
    description: Production server
  - url: http://localhost:8080/v1alpha1/
    description: Localhost
security:
  - apiKey: []
paths:
  /organisations/{organisationId}/schemas/{id}:
    delete:
      tags:
        - schemas
      description: DeleteSchema deletes an unpublished schema.
      operationId: DeleteSchema
      parameters:
        - name: organisationId
          in: path
          required: true
          schema:
            type: string
          description: >-
            OrganisationID is the ID of the organisation that the schema belongs
            to.
          examples:
            postman:
              summary: Use as a variable in a Postman request
              value: '{{organisationId}}'
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: ID is the schema identifier
          examples:
            postman:
              summary: Use as a variable in a Postman request
              value: '{{schemaId}}'
      responses:
        '200':
          $ref: '#/components/responses/DeleteSchemaResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
components:
  responses:
    DeleteSchemaResponse:
      description: |
        DeleteSchemaResponse is the response definition after deleting a schema.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DeletedResource'
    ErrorResponse:
      description: The default error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    DeletedResource:
      type: object
      properties:
        id:
          type: string
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        extensions:
          type: object
      required:
        - code
        - message
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization

````