Roles

Assign role to applications

Assign a role to a list of applications. The role must have the type Application.

post/api/roles/{id}/applications

Request

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

Path parameters

idstring required

The unique identifier of the role.

Request body

applicationIdsstring[] required

An array of application IDs to be assigned.

Response

The role was assigned to the applications successfully.

Changes

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