curl --request DELETE \
--url https://services.leadconnectorhq.com/locations/{locationId} \
--header 'Authorization: Bearer <token>' \
--header 'Version: <version>'{
"success": true,
"message": "Deleted location with id: ve9EPM428h8vShlRW1KT"
}Delete a Sub-Account (Formerly Location) from the Agency
curl --request DELETE \
--url https://services.leadconnectorhq.com/locations/{locationId} \
--header 'Authorization: Bearer <token>' \
--header 'Version: <version>'{
"success": true,
"message": "Deleted location with id: ve9EPM428h8vShlRW1KT"
}Use the Access Token generated with user type as Agency (OR) Private Integration Token of Agency.
API Version
2021-07-28 Location Id
Boolean value to indicate whether to delete Twilio Account or not
Was this page helpful?