Unregister a partner webhook endpoint
DELETE
/v1/partner/webhooks/{webhookId}
const url = 'https://api.emite.cr/v1/partner/webhooks/example';const options = {method: 'DELETE'};
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://api.emite.cr/v1/partner/webhooks/exampleDeliveries stop at once, including the ones already queued, which are dropped. To move to a new URL without a gap: register the new endpoint, switch the receiver to its secret, and only then remove the old one (a new secret for the same URL is a rotation). 404 WEBHOOK_ENDPOINT_NOT_FOUND for an id that is not one of this partner's endpoints, or was already removed.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”webhookId
required
string
Header Parameters
Section titled “Header Parameters”x-partner-key
string
Partner app credential (ecp_*)
Responses
Section titled “Responses”The endpoint is removed. No body.