Developers

Search the docs

Search guides and headings.

Delete a webhook endpoint

DELETE/developer/v1/webhook-endpoint/{endpoint_id}/delete/document
No scope needed

Deletes a webhook endpoint. Events are no longer sent to it. An endpoint of another mode answers not_found.

Path parameters

  • endpoint_idstringrequired

    The ID of the webhook endpoint, such as whe-....

Response 200

  • messagestring

    A plain sentence saying the endpoint was deleted.

    Default "Webhook endpoint deleted."

Errors

Every error has this shape. Branch on code, not on message. request_id equals the X-Request-Id response header.

jsonError response
{
  "error": {
    "code": "not_found",
    "message": "The object does not exist.",
    "request_id": "req_0123456789abcdef0123456789abcdef"
  }
}
StatusCodeMeaning
401invalid_api_keyThe API key is missing or not valid.
403company_archivedThis company is archived.
403company_not_liveThe company must be live to use prod keys.
403company_suspendedThis company is suspended.
404not_foundThe requested resource was not found.
429rate_limitedToo many requests. Wait before calling again.
500internal_errorSomething went wrong on our side. Please try again later.
502upstream_errorA Nurish'd service could not complete the request.
503upstream_unavailableA Nurish'd service is unavailable. Please try again later.
504upstream_timeoutA Nurish'd service did not answer in time. Please try again.

All error codes and what to do about them