Organizations

Add organization application role

Add a role to the application in the organization.

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

Request

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

Path parameters

idstring required

The unique identifier of the organization.

applicationIdstring required

The unique identifier of the application.

Request body

organizationRoleIdsstring[] required

The role ID to add.

Response

The role was added successfully.

Changes

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