Assign resource scopes to organization role
Assign resource scopes to the specified organization role
Path parameters
-
The unique identifier of the organization role.
POST /api/organization-roles/{id}/resource-scopes
curl \
-X POST https://[tenant_id].logto.app/api/organization-roles/{id}/resource-scopes \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"scopeIds":["string"]}'
Request examples
{
"scopeIds": [
"string"
]
}