---
title: "Delete skill"
method: DELETE
path: "/v1/skills/{skill_id}"
tags: ["Skills"]
---

# Delete skill

`DELETE /v1/skills/{skill_id}`

## Request

- Base URL: `https://api.sandbase.ai`
- URL: `https://api.sandbase.ai/v1/skills/{skill_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Delete a Skill. A Skill referenced by any Agent version returns 409.

## Response `200`

Skill deleted

- SkillDeleted
  - `id` string, required
  - `object` 'skill.deleted', required
  - `deleted` true, required

## Other responses

- `401`: unauthorized: missing, malformed, or conflicting API key headers
- `402`: spending_limit_exceeded: API key spending limit or organization balance exhausted
- `403`: insufficient_scope (scoped key) or org_disabled
- `404`: not_found: the resource does not exist in this organization
- `409`: conflict: stale row_version, lifecycle state, or Idempotency-Key reused with a different body
- `502`: executor_rejected or executor_contract_error from the execution layer
- `503`: authorization_unavailable, admission_unavailable, executor_unavailable, storage_unavailable, or internal_error

---

[API](https://skmtc.dev/sandbase/apis/sandbase-api.md) · [All operations](https://skmtc.dev/sandbase/apis/sandbase-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sandbase/apis/sandbase-api/revisions/d40df2467ba2?raw)
