curl -X PATCH 'https://api.example.com/scope-types/type_dept' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"description": "Business unit or department"
}'
{
"id": "type_dept",
"name": "Department",
"description": "Business unit or department"
}
Update an existing scope type
curl -X PATCH 'https://api.example.com/scope-types/type_dept' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"description": "Business unit or department"
}'
{
"id": "type_dept",
"name": "Department",
"description": "Business unit or department"
}
curl -X PATCH 'https://api.example.com/scope-types/type_dept' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"description": "Business unit or department"
}'
{
"id": "type_dept",
"name": "Department",
"description": "Business unit or department"
}
Was this page helpful?