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"
}
Update an existing scope
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"
}
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"
}
Was this page helpful?