Organization roles

Assign organization scopes to organization role

Assign organization scopes to the specified organization role

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

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/organization-roles/{id}/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

organizationScopeIdsstring[] required

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

Response

Organization scopes were assigned successfully.

Changes

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