Update an org-scoped custom skill by slug. Only provided fields are updated. Version is auto-incremented.
curl --request PUT \
--url https://api.case.dev/skills/{slug} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"slug": "<string>",
"summary": "<string>",
"content": "<string>",
"tags": [
"<string>"
],
"metadata": {}
}
'{
"slug": "<string>",
"name": "<string>",
"summary": "<string>",
"content": "<string>",
"tags": [
"<string>"
],
"metadata": {},
"version": 123,
"updated_at": "2023-11-07T05:31:56Z"
}API key starting with sk_case_
Skill slug to update
Fields to update
Was this page helpful?
curl --request PUT \
--url https://api.case.dev/skills/{slug} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"slug": "<string>",
"summary": "<string>",
"content": "<string>",
"tags": [
"<string>"
],
"metadata": {}
}
'{
"slug": "<string>",
"name": "<string>",
"summary": "<string>",
"content": "<string>",
"tags": [
"<string>"
],
"metadata": {},
"version": 123,
"updated_at": "2023-11-07T05:31:56Z"
}