Skip to main content
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-only
Auth methods:OAuthPrivate Integration
Token type:Agency Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3

Path Parameters

locationIdstringrequired

Location Id

Example:ve9EPM428h8vShlRW1KT

Query Parameters

deleteTwilioAccountbooleanrequired

Boolean value to indicate whether to delete Twilio Account or not

Example:false

Response

Successful response

successbooleanrequired

Success status of the API

Example:true
messagestringrequired

Success message of the API

Example:Deleted location with id: ve9EPM428h8vShlRW1KT