Spaces method and path for this operation:
delete /s/{space_id}/api/agent_builder/skills/{skillId}
Refer to Spaces for more information.
Delete a user-created skill by ID. If agents still reference the skill, the request returns 409 unless force=true, which removes the skill from agents first. Built-in skills cannot be deleted.
[Required authorization] Route required privileges: agentBuilder:manageSkills.
DELETE
/api/agent_builder/skills/{skillId}
curl
curl \
-X DELETE "https://${KIBANA_URL}/api/agent_builder/skills/{skillId}?force=false" \
-H "Authorization: ApiKey ${API_KEY}" \
-H "kbn-xsrf: true"
DELETE kbn:/api/agent_builder/skills/{skillId}
Response examples (200)
Example response showing that the deletion operation was successful
{
"success": true
}