Docs
Get an API key
Hotel webhooks

Delete a subscription

DELETE
/v1/hotel/webhook-subscriptions/{id}

You delete the subscription and its delivery history. Requests already queued can still arrive.

Authorization

x-api-key<token>

Your API key. Issued and revoked from the TrustPixel dashboard; the gateway resolves it to an owning organization on every request.

In: header

Path Parameters

id*string
Match^whs_[a-zA-Z0-9-]+$
Lengthlength <= 128

Header Parameters

x-request-id?string

Correlation id echoed to the upstream service and returned on the response. Generated as req_<uuid> when omitted.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/hotel/webhook-subscriptions/string"
Empty