Organizations

Add organization JIT default roles

Add new organization roles that will be assigned to users during just-in-time provisioning.

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

Request

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

Path parameters

idstring required

The unique identifier of the organization.

Request body

organizationRoleIdsstring[] required

The organization role IDs to add.

Response

The organization roles were added successfully.

Changes

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