Delete Skill Version
DELETE
/anthropic/v1/skills/{skill_id}/versions/{version}◐ PartialRequest parameters
skill_idstringrequiredpath: Skill ID (path or query parameter).
versionstringrequiredpath: Path parameter: the version.
Returns
501
Skill directories (a folder containing SKILL.md) can be uploaded and versioned; content downloads as application/zip. Only source custom is supported, and source anthropic returns an empty list. Uploads are limited to 8 MB in total and 200 files, with no .. or absolute paths. Versions are immutable. A skill that still has live versions cannot be deleted (409); delete all versions first.
Errors follow the Claude Managed Agents format — see error codes
Request
curl
curl -X DELETE https://api.deepraxis.com/anthropic/v1/skills/skill_123/versions/1 \
-H "x-api-key: $PRAXIS_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: managed-agents-2026-04-01"Python
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.deepraxis.com/anthropic",
api_key="$PRAXIS_API_KEY",
)
# 官方有、平台未支持:调用得到 501(not_implemented_error),无副作用。
result = client.beta.skills.versions.delete("1", {"skill_id": "skill_123"})
print(result)TypeScript
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://api.deepraxis.com/anthropic",
apiKey: "$PRAXIS_API_KEY",
});
// 官方有、平台未支持:调用得到 501(not_implemented_error),无副作用。
const result = await client.beta.skills.versions.delete("1", { skill_id: "skill_123" });
console.log(result);Response 501
{
"type": "error",
"error": {
"type": "not_implemented_error",
"message": "Not implemented: this Managed Agents operation is not implemented on this platform yet (DELETE /v1/skills/{skill_id}/versions/{version}); see the docs for the supported subset."
},
"request_id": "41f619fe-de36-400a-bf2d-91158af6dd30"
}Response
HTTP 200
Successful response
application/json
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references. |
| type | string | Deleted object type. For Skill Versions, this is always "skill_version_deleted". |