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

# Delete a skill

> Delete a Skill.

`DELETE /api/v1/cloud/skills/{skill_id}`

Deletes a Skill and returns a deletion confirmation.

## Path parameters

| Parameter  | Type   | Description                       |
| ---------- | ------ | --------------------------------- |
| `skill_id` | string | Skill ID with the `skill_` prefix |

## Headers

| Header          | Required | Description         |
| --------------- | -------- | ------------------- |
| `Authorization` | Yes      | `Bearer $QODER_PAT` |

## Example request

```bash theme={null}
curl -X DELETE https://api.qoder.com/api/v1/cloud/skills/skill_019e3bba474b73cfaf19eae9b5f5e66d \
  -H "Authorization: Bearer $QODER_PAT"
```

## Example response

**HTTP 200 OK**

```json theme={null}
{
  "id": "skill_019e3bba474b73cfaf19eae9b5f5e66d",
  "type": "skill_deleted"
}
```

Successful deletion is signalled by `"type": "skill_deleted"` in the response body.

## Errors

| HTTP | Type              | Trigger                                         |
| ---- | ----------------- | ----------------------------------------------- |
| 401  | `TOKEN_INVALID`   | Missing or invalid authentication token         |
| 404  | `not_found_error` | Skill does not exist or is no longer accessible |

See [Errors](/cloud-agents/api/conventions/errors) for the full error envelope.

## Related

<CardGroup cols={2}>
  <Card title="Agent Skills" icon="sparkles" href="/cloud-agents/skills">
    Attach domain expertise to your agent.
  </Card>
</CardGroup>
