SPB Git

Repository Public

delete.md 1.2 KB 64 lines markdown

1---2title: Delete Skill Version3url: https://platform.claude.com/docs/en/api/skills/versions/delete4---56# Delete Skill Version78**DELETE** `/v1/skills/{skill_id}/versions/{version}`910Delete Skill Version1112## Path parameters1314- `skill_id: string`1516  Unique identifier for the skill.1718  The format and length of IDs may change over time.1920- `version: string`2122  Identifies the skill version by its version ID.2324  Requests carrying the `skills-2025-10-02` beta header address versions by their Unix epoch timestamp instead (e.g., "1759178010641129").2526## Headers2728- `"anthropic-workspace-id": optional string`2930## Returns3132- `DeletedSkillVersion object`3334  - `type: "skill_version_deleted"`3536    Deleted object type.3738    For Skill Versions, this is always `"skill_version_deleted"`.3940    default: skill_version_deleted4142  - `id: string`4344    Unique identifier for this Skill Version. The id addresses the version in45    paths and pins it in references.4647## Example4849```bash50curl https://api.anthropic.com/v1/skills/$SKILL_ID/versions/$VERSION \51    -X DELETE \52    -H 'anthropic-version: 2023-06-01' \53    -H "X-Api-Key: $ANTHROPIC_API_KEY"54```5556### Response (200)5758```json59{60  "id": "id",61  "type": "skill_version_deleted"62}63```64
Files main
Menu

Theme