latestOpenAPI 3.1.02026-08-197104501.1 MB
8fbaab4fc7c5
anthropic_skills
Delete Skill
Delete a skill by ID from Anthropic.
Requires ?beta=true query parameter.
Note: Anthropic does not allow deleting skills with existing versions.
Model-based routing (for multi-account support):
- Pass model via header: x-litellm-model: claude-account-1
- Pass model via query: ?model=claude-account-1
- Pass model via body: {"model": "claude-account-1"}
Example usage:
# Basic usage
curl -X DELETE "http://localhost:4000/v1/skills/skill_123?beta=true" -H "Authorization: Bearer your-key"
# With model-based routing
curl -X DELETE "http://localhost:4000/v1/skills/skill_123?beta=true" -H "Authorization: Bearer your-key" -H "x-litellm-model: claude-account-1"
Returns: DeleteSkillResponse with type="skill_deleted"
delete/v1/skills/{skill_id}
Path parameters
skill_idstring required
Query parameters
custom_llm_providerstring nullable
Response
Successful Response