Delete a location
locations_deleteRemove a location. Its accounts stay connected and belong to no location; nothing that was posted is touched.
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": {
"id": "<id>"
},
"name": "locations_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A location id from locations_list. | |
| brandId | No | The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out. |