Organization roles

Assign resource scopes to organization role

Assign resource scopes to the specified organization role

post/api/organization-roles/{id}/resource-scopes

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/organization-roles/{id}/resource-scopes
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

idstring required

The unique identifier of the organization role.

Request body

scopeIdsstring[] required

An array of resource scope IDs to be assigned. Existed scope IDs assignments will be ignored.

Response

Resource scopes were assigned successfully.

Changes

No recorded changes to this operation across all 8 revisions of this API.