Delete Skill Version
client.beta.skills.versions.delete(stringversion, VersionDeleteParams { skill_id, betas } params, RequestOptionsoptions?): VersionDeleteResponse { id, type }
/v1/skills/{skill_id}/versions/{version}?beta=true
Delete Skill Version
Parameters
version: string
Version identifier for the skill.
Each version is identified by a Unix epoch timestamp (e.g., "1759178010641129").
Returns
Delete Skill Version
TypeScript
import Anthropic from '@anthropic-ai/sdk';
const client = new Anthropic({
apiKey: 'my-anthropic-api-key',
});
const version = await client.beta.skills.versions.delete('version', { skill_id: 'skill_id' });
console.log(version.id);{
"id": "1759178010641129",
"type": "type"
}Returns Examples
{
"id": "1759178010641129",
"type": "type"
}