Delink and Transfer Records
PUT {{api-domain}}/crm/v4/users/{{user_id}}/territories/actions/transfer_and_delink
To retrieve the users' data specified in the API request. You can specify the type of users that needs to be retrieved using the Users API. For example, use type=AllUsers, to get the list of all the CRM users available.
Refer to help doc to know more.
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"}]}