Delete a webhook
DELETE
/api/v1/partnership/webhooks/{id}/
const url = 'https://public.api.barestho.com/api/v1/partnership/webhooks/example/';const options = {method: 'DELETE', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://public.api.barestho.com/api/v1/partnership/webhooks/example/ \ --header 'Authorization: Basic <credentials>'Permanently removes the specified webhook. After deletion, no further event deliveries will be attempted to the associated URL. This action is irreversible; a new webhook must be registered if deliveries are required again.
Authorizations
Section titled โAuthorizations โParameters
Section titled โ Parameters โPath Parameters
Section titled โPath Parameters โ id
required
string
The unique identifier of the webhook to delete.
Responses
Section titled โ Responses โThe webhook was deleted successfully. No response body is returned.