---
title: "Delete an organization or agent skill"
---

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

# Delete an organization or agent skill

Path: CloudRaker Workspace API › Playbooks

`DELETE /skills/{slug}`

A skill is instructions the agent reads on demand — it never executes, never dispatches and is never approval-gated (actions are the executable, gated layer). Permanently deletes the org (default) or agent skill with this slug. Deleting a skill that shadowed a platform skill of the same slug brings the platform one back, whole; platform skills themselves are code and answer 403 `platform_skill_immutable`. Query: `scope` (`org` | `agent`, default `org`) and `playbookId` for the agent tier. Authorization: organization administrators only. Response `{ data: { slug } }`.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `slug` (`deleteSkill.path.slug`; string, required)

## Query parameters

- `scope` (`deleteSkill.query.scope`; string, optional) — Which tier to delete.
  - one of `"org"`, `"agent"`; default `"org"`
- `playbookId` (`deleteSkill.query.playbookId`; string, optional) — Required when `scope` is `agent`.
  - minLength 1

## Code samples

### cURL

```bash
curl --request DELETE \
  --url 'https://api.cloudraker.com/skills/<slug>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/skills/<slug>';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/skills/<slug>"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
```

## Responses

### 200

The deleted skill slug.

#### Example

```json
{
  "data": {
    "slug": "string"
  }
}
```

- `data` (`deleteSkill.response.200.data`; object, required)
  - `slug` (`deleteSkill.response.200.data.slug`; string, required)


Source: https://docs.cloudraker.com/workspace/api/playbooks/delete-skill/index.md
