CompuDime API docs

Reference / Webhook receivers

DELETE /v1/webhooks/{webhookId}

Remove a webhook receiver

Removes one of your receivers: nothing is sent to it again, including deliveries still waiting for a retry, and it no longer appears in your list. The store owner still sees it in the console, marked removed. Free, and needs only a valid key.

KeyRequired. See Authentication.
Scopewebhooks.write
Pricefree. How pricing works.

Example

curl -s -X DELETE "https://api.compudime.com/v1/webhooks/{webhookId}" \
  -H "Authorization: Bearer $PUBLIC_API_KEY"

Parameters

NameInTypeDescription
webhookId requiredpathstringThe receiver's id (id in the answer of POST /v1/webhooks or GET /v1/webhooks). An id your key has no receiver under is 404 webhook_not_found.

Responses

StatusDescriptionBody
200The receiver is removed.WebhookDeletedResponse
401Public API key is missing, invalid, or revoked.Problem
403The API key is not enabled for this endpoint.Problem
404Your key has no receiver with this id: it never existed, belongs to another integration or to a key of the other mode, or you removed it (code webhook_not_found).Problem
405The requested method is not allowed for this endpoint.Problem
429Too many requests from this API key (code rate_limited). Each key has its own request budget at the API edge, refilled continuously; it covers every authenticated endpoint, including the free ones, and is checked before anything is billed or sent to the store. Wait at least Retry-After seconds before the next request with this key, then resume; if 429 answers again, back off exponentially (double the wait each time, up to a minute or so) and add random jitter so parallel workers do not retry in step. A 429 is never charged and reserves nothing.
Header Retry-After: Whole seconds to wait before retrying with this key: the time until the key's next request token at the edge (never less than 1), or 60 when the store plan's per-minute ceiling refused the call.
Problem
500The API edge encountered an internal error.Problem
503A required Public API dependency is temporarily unavailable. Also answered, with code endpoint_disabled, while CompuDime has temporarily switched the endpoint off: the whole API, the endpoint's family (x-compudime-family) or this endpoint alone; the detail says which and why. It is checked before anything is validated, reserved or sent to the store, so it is never charged; it is retryable and carries Retry-After.
Header Retry-After: Sent with code endpoint_disabled: whole seconds to wait before asking again. A switch has no scheduled end, so this is a polling interval (60), not a promise.
Problem

Error bodies are problem JSON; every code is listed there.

Access level

What your integration's access level changes here.

LevelScopeEffect
ownwebhooks.writeThe level does not change this operation: own and all return the same data.
allwebhooks.writeThe level does not change this operation: own and all return the same data.