Skip to main content
PATCH
http://localhost:3000
/
scope-types
/
{id}
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"
}

Path Parameters

id
string
required
The unique identifier of the scope type to update

Request Body

name
string
Updated display name for the scope type
description
string
Updated description

Response

Returns the updated scope type object.
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"
}