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

# Delete skill

> Deletes the skill and all its versions. Blocked with 409 (carrying `referencedBy`) while an agent draft or active version references it; pass `?force=true` to override — those agents then skip the skill (reported in their rebuild summary) until the reference is removed.



## OpenAPI

````yaml /api-reference/openapi.json delete /v1/skills/{id}
openapi: 3.1.0
info:
  title: Sidenet API
  version: 1.0.0
  description: >-
    Sidenet HTTP endpoints exposed by the Sidenet Studio. All routes require an
    api key that can be generated through the studio in studio.sidenet.ai.
servers:
  - url: https://api.sidenet.ai
security:
  - bearerAuth: []
paths:
  /v1/skills/{id}:
    delete:
      tags:
        - Skills
      summary: Delete skill
      description: >-
        Deletes the skill and all its versions. Blocked with 409 (carrying
        `referencedBy`) while an agent draft or active version references it;
        pass `?force=true` to override — those agents then skip the skill
        (reported in their rebuild summary) until the reference is removed.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            example: 9a4e2c71-5b08-4f3d-a6c2-1e7d8b0f4c23
        - name: force
          in: query
          required: false
          schema:
            type: boolean
            example: false
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  deleted:
                    type: boolean
                  id:
                    type: string
                    format: uuid
              example:
                deleted: true
                id: 9a4e2c71-5b08-4f3d-a6c2-1e7d8b0f4c23
        '404':
          description: Not found
        '409':
          description: Referenced by an agent
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Organization API key, generated in studio.sidenet.ai. Backend only —
        never in a browser.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.