Applications
Delete an Application
Permanently delete a Vobiz voice application by app_id - removes all webhook configuration and disassociates attached phone numbers and SIP endpoints.
DELETE
/
api
/
v1
/
Account
/
{auth_id}
/
Application
/
{app_id}
/
Delete an Application
curl --request DELETE \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/{app_id}/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'import requests
url = "https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/{app_id}/"
headers = {
"X-Auth-ID": "<api-key>",
"X-Auth-Token": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/{app_id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>"{
"api_id": "<string>",
"error": "<string>",
"message": "<string>"
}{
"api_id": "<string>",
"error": "<string>",
"message": "<string>"
}DELETE https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/{app_id}/
Authentication required:
X-Auth-ID- Your account Auth IDX-Auth-Token- Your account Auth TokenContent-Type: application/json
Warning: Deletion is permanent and cannot be undone. If the application is associated with phone numbers, the deletion is blocked with a
409 until those associations are removed.Delete an app that is in use: first detach every number bound to it (and repoint any endpoints whose
application is this app, via update endpoint), then call delete. Deleting a default_number_app/default_endpoint_app removes the auto-routing default - set a new default on another application beforehand if you rely on it.Arguments
No request parameters needed.Response Examples
Success Response (204 No Content) - No response body.{
"error": "Application not found",
"app_id": "12345678901234567"
}
{
"error": "Cannot delete application",
"message": "Application is currently in use by 5 phone numbers"
}
cURL Example
cURL
curl -X DELETE https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/12345678901234567/ \
-H "X-Auth-ID: YOUR_AUTH_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN"
Was this page helpful?
⌘I
Delete an Application
curl --request DELETE \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/{app_id}/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'import requests
url = "https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/{app_id}/"
headers = {
"X-Auth-ID": "<api-key>",
"X-Auth-Token": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Application/{app_id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>"{
"api_id": "<string>",
"error": "<string>",
"message": "<string>"
}{
"api_id": "<string>",
"error": "<string>",
"message": "<string>"
}