Delete Sub-Account (Formerly Location)
DELETE/locations/:locationId
Delete a Sub-Account (Formerly Location) from the Agency
Request
Version stringrequired
API Version
Available options
2021-04-15locationId stringrequired
Location Id
deleteTwilioAccount booleanrequired
Boolean value to indicate whether to delete Twilio Account or not
Successful response
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Success status of the API
messagestringrequired
Success message of the API
{
"success": true,
"message": "Deleted location with id: ve9EPM428h8vShlRW1KT"
}