Assign resource scopes to organization role
POST
/api/organization-roles/{id}/resource-scopes
Assign resource scopes to the specified organization role
Path parameters
-
id string Required
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 "Content-Type: application/json" \
-d '{"scopeIds":["string"]}'
Request example
{
"scopeIds": [
"string"
]
}