Organizations

Replace organization JIT default roles

Replace all organization roles that will be assigned to users during just-in-time provisioning with the given data.

put/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

An array of organization role IDs to replace existing organization roles.

Response

The organization roles were replaced successfully.

Changes

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