Update API resource scope
Update an API resource scope (permission) for the given resource. This method performs a partial update.
PATCH
/api/resources/{resourceId}/scopes/{scopeId}
curl \
--request PATCH 'https://[tenant_id].logto.app/api/resources/{resourceId}/scopes/{scopeId}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"string","description":"string"}'
Request examples
{
"name": "string",
"description": "string"
}
Response examples (200)
{
"tenantId": "string",
"id": "string",
"resourceId": "string",
"name": "string",
"description": "string",
"createdAt": 42.0
}