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_idstringRequiredSkill ID, format skill_xxx
Response fields
idstringDeleted skill ID
typestringAlways skill_deleted
request_idstringUnique 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"
}
Is this page helpful?