Skip to main content
DELETE
/
v1
/
webhook-endpoints
/
{id}
Delete a webhook endpoint
curl --request DELETE \
  --url https://api.scrip.dev/v1/webhook-endpoints/{id} \
  --header 'X-API-Key: <api-key>'
{
  "code": "bad_request",
  "details": {
    "expected": "present",
    "field": "amount",
    "message": "This field is required",
    "reason": "required",
    "received": "<string>"
  },
  "message": "Invalid request parameters"
}
Archives a webhook endpoint. Archived endpoints stop receiving new deliveries and are excluded from list and get responses. Existing delivery records are retained for inspection. This is a soft delete — the endpoint’s data is preserved but it cannot be reactivated. To temporarily stop deliveries, update the endpoint’s status to DISABLED instead.
For usage patterns and examples, see the Webhooks guide.

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Path Parameters

id
string<uuid>
required

Endpoint ID

Response

Endpoint archived