Delete Skill

Updated at:

Deletes the skill and all its versions. It can no longer be mounted to new agents. Agents that already have an old version mounted continue to work normally, and session history is not affected.

Prerequisites

Endpoint and authentication configured. For details, see Overview and authentication.

Endpoint

DELETE/skills/{skill_id}

Path parameters

skill_idstringRequired

Skill ID, format skill_xxx

Response fields

idstring

Deleted skill ID

typestring

Always skill_deleted

request_idstring

Unique request identifier

Request example

curl -X DELETE "$AGENTSTUDIO_URL/skills/skill_xxx" \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY"
client.skills.delete("skill_xxx")
client.skills().delete("skill_xxx");

Response example

{
  "id": "skill_xxx",
  "type": "skill_deleted",
  "request_id": "xxx"
}