de
Katalog›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.

Argumente

idstringpatherforderlich
Skill ID (UUID)
descriptionstringbodyoptional
nil = keep; "" clears the description.
is_activebooleanbodyoptional
namestringbodyoptional
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"
}'
Anfragetext
{
"description": ,
"is_active": ,
"name":
}

Antworten