Skip to main content
DELETE
/
webhooks
/
{webhookId}
Delete Webhook
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.thanks.io/api/v2/webhooks/{webhookId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "status": "success"
}
Webhooks are available on paid subscriptions only.

Authorizations

Authorization
string
header
required

Bearer token authentication using your thanks.io API key

Path Parameters

webhookId
integer
required

ID of webhook

Example:

11

Response

OK

status
string
Example:

"success"