Delink and Transfer Records
PUT {{api-domain}}/crm/v3/users/{{user_id}}/territories/actions/transfer_and_delink
To delink a user from the territory and assign the open records to the user of another territory.
Refer to the API documentation for more details.
Request Body
{"transfer_and_delink"=>[{"id"=>"{{territory_id}}", "transfer_to_user"=>{"id"=>"{{transfer-to-user}}"}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"transfer_and_delink":[{"code":"SUCCESS","details":{"id":"4876876000000893297"},"message":"Territory is delinked from user successfully","status":"success"}]}