Add organization JIT default roles
Add new organization roles that will be assigned to users during just-in-time provisioning.
Path parameters
-
The unique identifier of the organization.
Body Required
-
The organization role IDs to add.
Minimum length of each is
1
.
POST
/api/organizations/{id}/jit/roles
curl \
--request POST https://[tenant_id].logto.app/api/organizations/{id}/jit/roles \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"organizationRoleIds":["string"]}'
Request examples
{
"organizationRoleIds": [
"string"
]
}