locations_delete_location
Remove a GoHighLevel sub-account (location) using an agency-level token. Set deleteTwilioAccount to true to also delete the linked Twilio account.
Instructions
Delete Sub-Account (Formerly Location) (requires an agency-level token, not a location PIT)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"deleteTwilioAccount": "<deleteTwilioAccount>"
},
"name": "locations_delete_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locationId | No | Location Id Defaults to GHL_LOCATION_ID when omitted. | |
| deleteTwilioAccount | Yes | Boolean value to indicate whether to delete Twilio Account or not |