Replace organization JIT default roles
Replace all organization roles that will be assigned to users during just-in-time provisioning with the given data.
Path parameters
-
The unique identifier of the organization.
Body Required
-
An array of organization role IDs to replace existing organization roles.
Minimum length of each is
1
.
PUT /api/organizations/{id}/jit/roles
curl \
-X PUT https://[tenant_id].logto.app/api/organizations/{id}/jit/roles \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"organizationRoleIds":["string"]}'
Request examples
{
"organizationRoleIds": [
"string"
]
}