Skip to main content
DELETE
/
locations
/
{locationId}
Delete Sub-Account (Formerly Location)
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"
}

Authorizations

Authorization
string
header
required

Use the Access Token generated with user type as Agency (OR) Private Integration Token of Agency.

Headers

Version
enum<string>
required

API Version

Available options:
2021-07-28

Path Parameters

locationId
string
required

Location Id

Query Parameters

deleteTwilioAccount
boolean
required

Boolean value to indicate whether to delete Twilio Account or not

Response

Successful response

success
boolean
required

Success status of the API

Example:

true

message
string
required

Success message of the API

Example:

"Deleted location with id: ve9EPM428h8vShlRW1KT"

Last modified on March 4, 2026