cURL
curl --request DELETE \
--url http://127.0.0.1:3333/v3/webhooks/{webhookId}/rotate-secret \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:3333/v3/webhooks/{webhookId}/rotate-secret"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:3333/v3/webhooks/{webhookId}/rotate-secret', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Additional Endpoints
Create Rotate Secret
Create Rotate Secret with the Sendbot API v3.
DELETE
/
v3
/
webhooks
/
{webhookId}
/
rotate-secret
cURL
curl --request DELETE \
--url http://127.0.0.1:3333/v3/webhooks/{webhookId}/rotate-secret \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:3333/v3/webhooks/{webhookId}/rotate-secret"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:3333/v3/webhooks/{webhookId}/rotate-secret', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));