Spaces method and path for this operation:
put /s/{space_id}/api/agent_builder/skills/{skillId}
Refer to Spaces for more information.
Update an existing user-created skill.
[Required authorization] Route required privileges: manage_agent_builder.
PUT
/api/agent_builder/skills/{skillId}
curl \
--request PUT 'https://localhost:5601/api/agent_builder/skills/{skillId}' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"content":"string","description":"string","name":"string","referenced_content":[{"content":"string","name":"string","relativePath":"string"}],"tool_ids":["string"]}'