Organizations

Assign roles to applications in an organization

Assign roles to applications in the specified organization.

post/api/organizations/{id}/applications/roles

Request

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

Path parameters

idstring required

The unique identifier of the organization.

Request body

applicationIdsstring[] required

An array of application IDs to assign roles to.

organizationRoleIdsstring[] required

An array of organization role IDs to assign to the applications.

Response

Roles were assigned to the applications successfully.

Changes

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