DELETE
/
api
/
v1
/
csp
/
webhook
/
{webhook_id}
Delete Webhook
curl --request DELETE \
  --url https://sandbox.paylias.xyz/gateway/api/v1/csp/webhook/{webhook_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'idempotency-key: <idempotency-key>' \
  --header 'x-partner-id: <x-partner-id>'
{
  "ok": true,
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-partner-id
string
default:""
required

The Partner ID header used for authorization

idempotency-key
string
default:""
required

The Idempotency Key - usually a UUID

Path Parameters

webhook_id
string
required

The unique identifier for the webhook

Example:

"whk_cjf0qivsemvkg2on8f9g"

Response

200
application/json

Successful deletion of webhook subscription

Standard response structure for successful operations