Delete a webhook endpoint
DELETE /api/v1/webhooks/{id}
DELETE https://api.trustverify.co.uk/api/v1/webhooks/{id}
Deletes an owned endpoint. Needs a live key.
Parameters#
| Field | Type | Description |
|---|---|---|
| id (path) | numbernull |
Example request#
curl -sS -X DELETE 'https://api.trustverify.co.uk/api/v1/webhooks/42' \
-H "Authorization: Bearer $TRUSTVERIFY_API_KEY"Responses#
204 Webhook deleted
403 test_key_cannot_manage_webhooks — endpoints receive production events, so creating, changing or deleting one needs a liv
test_key_cannot_manage_webhooks — endpoints receive production events, so creating, changing or deleting one needs a live key (tv_live_sk_…). A test key can list them.