Remove organization JIT default role

DELETE /api/organizations/{id}/jit/roles/{organizationRoleId}

Remove an organization role that will be assigned to users during just-in-time provisioning.

Path parameters

  • id string Required

    The unique identifier of the organization.

  • organizationRoleId string Required

    The unique identifier of the organization role.

Responses

  • The organization role was removed successfully.

  • Bad Request

  • Unauthorized

  • Forbidden

  • The organization role could not be removed. The organization role may not exist.

DELETE /api/organizations/{id}/jit/roles/{organizationRoleId}
curl \
 -X DELETE https://[tenant_id].logto.app/api/organizations/{id}/jit/roles/{organizationRoleId} \
 -H "Authorization: Bearer $ACCESS_TOKEN"