Sub-Account (Formerly Location)Version: v3
Delete Sub-Account (Formerly Location)
DEL/locations/{locationId}
Delete a Sub-Account (Formerly Location) from the Agency
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
locations. internal-access-onlyAuth methods:
OAuthPrivate IntegrationToken type:
Agency TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Path Parameters
locationIdstringrequired
Location Id
Example:
ve9EPM428h8vShlRW1KTQuery Parameters
deleteTwilioAccountbooleanrequired
Boolean value to indicate whether to delete Twilio Account or not
Example:
falseResponse
Successful response
successbooleanrequired
Success status of the API
Example:
truemessagestringrequired
Success message of the API
Example:
Deleted location with id: ve9EPM428h8vShlRW1KT