Webhooks
Delete a webhook
Removes the subscription and stops all deliveries to its URL. To pause deliveries and keep the configuration, set active to false instead.
DELETE
/
api
/
v1
/
Account
/
{auth_id}
/
Sms
/
Webhook
/
{id}
/
cURL
curl --request DELETE \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Webhook/{id}/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.webhooks.delete_webhook(
id="2a4c6e8f-1b3d-4f5a-8c7e-9d0b2f4a6c8e",
)
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}/Sms/Webhook/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "ok"
}
Authorizations
Path Parameters
Was this page helpful?
⌘I
cURL
curl --request DELETE \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Webhook/{id}/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.webhooks.delete_webhook(
id="2a4c6e8f-1b3d-4f5a-8c7e-9d0b2f4a6c8e",
)
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}/Sms/Webhook/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "ok"
}