This page documents the canonical HTTP contract for this endpoint.
This is a mutating workflow operation. In exit_and_reenroll mode, the selected enrollments can be exited and re-created under the new owner. The example uses dryRun:true. Obtain real organization user IDs from List organization users.
Path parameters
sequence_idrequiredstring
Sequence identifier.
| Name | Type | Description |
|---|---|---|
| sequence_idrequired | string | Sequence identifier. |
Body parameters
newUserIdrequiredstring
Destination organization user ID.
leadIds· optionalarray<string>
Restrict transfer to these lead IDs.
enrollmentIds· optionalarray<string>
Restrict transfer to these enrollment IDs.
mode· optionalstring
tasks_only (default), tasks_plus_enrollment, or exit_and_reenroll.
updateLeadOwner· optionalboolean
Also update the CRM lead owner; defaults to false.
dryRun· optionalboolean
Preview matching changes without applying; defaults to false.
| Name | Type | Description |
|---|---|---|
| newUserIdrequired | string | Destination organization user ID. |
| leadIds | array<string> | Restrict transfer to these lead IDs. |
| enrollmentIds | array<string> | Restrict transfer to these enrollment IDs. |
| mode | string | tasks_only (default), tasks_plus_enrollment, or exit_and_reenroll. |
| updateLeadOwner | boolean | Also update the CRM lead owner; defaults to false. |
| dryRun | boolean | Preview matching changes without applying; defaults to false. |
Errors
| Status | Meaning |
|---|---|
| 401 | Authentication is missing or invalid. |
| 403 | Missing sequences:write. |
| 404 | Sequence or destination user not found. |
| 400 | At least one of leadIds or enrollmentIds must be provided. |
