agent_id in the response is the staging copy's ID, not the ID in the path. Publishdata describes it. When the skill was not linked, data is an empty object and nothing changed.curl --location --globoff --request DELETE 'https:///api/v2/agents//skills//disable' \
--header 'X-Authorization-Consistency-Token;' \
--header 'Organization-Id;' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer '{
"success": true,
"message": "AgentSkill unlinked successfully.",
"data": {
"id": 88,
"agent_id": 41,
"skill_id": 12,
"skill_name": "code-review",
"description": "Reviews a diff and reports problems.",
"created_by": "[email protected]"
}
}