카탈로그›Update a skill
Update a skill
Updates a skill's name, description, and/or active status. `is_active` is optional — omit the field entirely to keep the current value; send `false` to deactivate or `true` to reactivate. Deactivating a skill prevents new technician assignments but does not remove existing ones.
인수
idstringpath필수
Skill ID (UUID)
descriptionstringbody선택
nil = keep; "" clears the description.
is_activebooleanbody선택
namestringbody선택
nil = keep; min=1 rejects an explicit "".
PUT/v1/skills/{id}
curl -X PUT "https://api.crisphive.com/v1/skills/9b2f6c3e-1a4d-4f0a-8f2e-7c5d1b3a9e01" \ -H "Authorization: Bearer chsk_test_4eC8xQ9mZ2pL7Ka0rT" \ -H "Content-Type: application/json" \ -d '{ "description": "Repair of household water pipes", "is_active": true, "name": "Pipe Repair" }'
요청 본문
{
"description": ,
"is_active": ,
"name":
}
Bearer