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

# Delete workspace skill

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Deletes a skill. This can't be undone, and the AI stops using the skill right away. To keep it but stop it being used, set `enabled` to `false` with [Update workspace skill](/api-reference/update-workspace-skill) instead.

Skills belong to the workspace your credential is for. With a personal access token or a workspace API key, that's its workspace, and there's no parameter to choose another one.

Skills need the Builder plan or higher. Below it, this returns a `403`.

This is limited to 60 requests per minute, shared with the other endpoints that change skills. A signed-in session has its own limit, and every personal access token for the workspace shares one, and each workspace API key has its own. Some workspaces have a different limit.

<Note>Call this as an owner or admin of the workspace with a personal access token sent as a Bearer token, with a workspace API key, which acts as the workspace owner, or from a signed-in session. Read-only tokens and keys are refused.</Note>



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json delete /api/workspace/skills/{skill_id}
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - PersonalAccessTokenAuth: []
paths:
  /api/workspace/skills/{skill_id}:
    delete:
      summary: Delete workspace skill
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Deletes a skill. This can't be undone, and the AI stops using the skill
        right away. To keep it but stop it being used, set `enabled` to `false`
        with [Update workspace skill](/api-reference/update-workspace-skill)
        instead.


        Skills belong to the workspace your credential is for. With a personal
        access token or a workspace API key, that's its workspace, and there's
        no parameter to choose another one.


        Skills need the Builder plan or higher. Below it, this returns a `403`.


        This is limited to 60 requests per minute, shared with the other
        endpoints that change skills. A signed-in session has its own limit, and
        every personal access token for the workspace shares one, and each
        workspace API key has its own. Some workspaces have a different limit.


        <Note>Call this as an owner or admin of the workspace with a personal
        access token sent as a Bearer token, with a workspace API key, which
        acts as the workspace owner, or from a signed-in session. Read-only
        tokens and keys are refused.</Note>
      operationId: delete_workspace_skill_api_workspace_skills__skill_id__delete
      parameters:
        - name: skill_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              ID of the skill to delete. Get it from `id` in [List workspace
              skills](/api-reference/list-workspace-skills).
            title: Skill Id
          description: >-
            ID of the skill to delete. Get it from `id` in [List workspace
            skills](/api-reference/list-workspace-skills).
          example: 68d2a1f4c9e7b3001f2a5c88
      responses:
        '200':
          description: The skill was deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChangeResult'
              example:
                status: success
                message: Skill deleted
        '401':
          description: Missing or invalid credentials.
        '403':
          description: >-
            The workspace's plan doesn't include skills, you aren't an owner or
            admin of the workspace, or your token or key is read-only.
        '404':
          description: Skill not found in this workspace.
        '409':
          description: Your workspace requires an unlocked SSO session.
        '429':
          description: Rate limit exceeded.
        '503':
          description: >-
            Database temporarily unavailable (`database_unavailable`): the data
            cluster did not answer in time. Retry after the `Retry-After`
            seconds.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
              examples:
                database_unavailable:
                  summary: database_unavailable
                  value:
                    error:
                      code: database_unavailable
                      message: Database temporarily unavailable, please retry
                      details: {}
      security:
        - PersonalAccessTokenAuth:
            - full_access
        - WorkspaceApiKeyAuth:
            - full_access
        - WorkspaceApiKeyBearerAuth:
            - full_access
components:
  schemas:
    ChangeResult:
      properties:
        status:
          type: string
          const: success
          title: Status
          description: Always `success`.
          example: success
        message:
          type: string
          title: Message
          description: Short confirmation. Its wording can change, so don't parse it.
          example: Members added to group.
      type: object
      required:
        - status
        - message
      title: ChangeResult
      description: Confirms the change.
    StandardErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/StandardError'
          description: What went wrong.
      type: object
      required:
        - error
      title: StandardErrorEnvelope
      description: The error body returned in the standard envelope.
    StandardError:
      properties:
        code:
          type: string
          title: Code
          description: >-
            Stable machine-readable cause of the failure. Match on this, not on
            `message`.
          example: not_found
        message:
          type: string
          title: Message
          description: Human-readable explanation. It isn't a stable contract.
          example: App not found
        details:
          additionalProperties: true
          type: object
          title: Details
          description: >-
            Structured context for the failure, or an empty object when there's
            none.
          example: {}
      type: object
      required:
        - code
        - message
      title: StandardError
  securitySchemes:
    PersonalAccessTokenAuth:
      type: http
      scheme: bearer
      description: >-
        Personal access token, sent as `Authorization: Bearer <token>`. Each
        operation lists the permission it needs: `read_only` or `full_access`. A
        full-access token can call every operation. A read-only token can call
        only the operations that list `read_only`; anything else returns 403
        `read_only_credential_route_not_allowed`.
    WorkspaceApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: >-
        Workspace API key, sent as `api_key: <key>`. Each operation that accepts
        one lists what the key needs: a permission, `read_only` or
        `full_access`, like a personal access token, or a scope. A key without
        the scope gets 403 `workspace_api_key_scope_required`.
    WorkspaceApiKeyBearerAuth:
      type: http
      scheme: bearer
      description: >-
        Workspace API key, sent as `Authorization: Bearer <key>`. Accepted
        wherever `api_key` is, with the same permission.

````

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