Delete a webhook using the API: delete_webhook


The delete_webhooks method can be executed using the admin API key

https://youraccount.worksection.com/api/admin/v2/?action=delete_webhook&
id=<id>&hash=HASH

or using an OAuth 2.0 token with scope = administrative:

curl -X GET -H "Authorization: Bearer <token_value>"
https://youraccount.worksection.com/api/oauth2?action=delete_webhookd&id=<id>

PARAMETERDESCRIPTION
id(Required) Webhook ID
Can be obained through get_webhooks method

Example response:

{
    "status": "ok"
}