Skip to main content
PATCH
http://localhost:3000
/
scopes
/
{id}
curl -X PATCH 'https://api.example.com/scopes/scope_123' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Platform Engineering Team"
  }'
{
  "id": "scope_123",
  "name": "Platform Engineering Team",
  "typeId": "type_team",
  "externalId": "team-eng"
}

Path Parameters

id
string
required
The unique identifier of the scope to update

Request Body

name
string
Updated display name for the scope
externalId
string
Updated external identifier

Response

Returns the updated scope object.
curl -X PATCH 'https://api.example.com/scopes/scope_123' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Platform Engineering Team"
  }'
{
  "id": "scope_123",
  "name": "Platform Engineering Team",
  "typeId": "type_team",
  "externalId": "team-eng"
}