Webhooks and events
DEL/v1/webhook-endpoints/{ep_id}

Delete webhook endpoint

View as .md
curl -X DELETE "https://api.52-28-238-205.sslip.io/v1/webhook-endpoints/{ep_id}" \  -H "Cookie: <console session cookie>" \  -H "Content-Type: application/json" \  -d '{"confirm":"string"}'

Deletes the endpoint; no further deliveries are sent to it. Requires developer:manage and a confirmation that matches the endpoint description (or its URL when it has no description), otherwise CONFIRMATION_REQUIRED.

Server URLhttps://api.52-28-238-205.sslip.io
DEL/v1/webhook-endpoints/{ep_id}Base URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Path
  • ep_idstringrequired

    Webhook endpoint id (we_...).

Query
  • confirmstring

    The endpoint description (or URL) typed to confirm; may also be sent in the body.

Body

application/json. Fields are listed under Request body below.

Requires permissiondeveloper:manage
Held by owner, admin, developer, merchant_owner, merchant_developer, operator. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

ep_id*Ep Id

Webhook endpoint id (we_...).

Query Parameters

confirm?|

The endpoint description (or URL) typed to confirm; may also be sent in the body.

Request Body

application/json
  1. body
confirm?string|null

Response Body

Success.

application/json
  1. response
ok*Ok
[key: string]?any