Path Parameters
The unique identifier of the organization
Request Body
The role ID to migrate users from. Must be an organization-level role (role_type=“org”). All users in this organization with this role will be updated.
The role ID to migrate users to. Must be an organization-level role (role_type=“org”). Use the List available roles endpoint to get valid role IDs.
Response
Status of the operation. Returns “success” when the migration is completed successfully.
Error Responses
Bad Request - One or both of the specified role IDs are not organization-level roles
Forbidden - User not associated with an enterprise or lacks permission to manage organization membership
Not Found - Organization not found in the enterprise