Skip to Content
RunePayDocs
API referenceWebhook endpoints

Delete a webhook endpoint

Soft-deletes the endpoint, hides it from reads and stops pending and future deliveries.

DELETE
/webhook_endpoints/{id}

Soft-deletes the endpoint, hides it from reads and stops pending and future deliveries.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A secret key, sk_test_… or sk_live_….

Path Parameters

id*string

The object id.

Header Parameters

Idempotency-Key?string

Makes a retry safe: the same key and body within 24 hours does not repeat the request.

Response Body

Success.

application/json
  1. response
id*string
object*string
deleted*boolean
Example Request
curl -X DELETE 'https://runepay.co/api/v1/webhook_endpoints/string' \  -H 'Authorization: Bearer sk_test_...'
Example Response
{  "id": "we_01KA9F6G8H0J2K4M6N8P0Q2R4S",  "object": "webhook_endpoint",  "deleted": true}