Delete Subscription
DELETE/webhooks/:subscriptionId
Deletes a webhook subscription by a specified subscriptionId
Request
Path Parameters
subscriptionId stringrequired
The subscription id
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
- application/json
Body
address stringrequired
URL where the data will be sent to each time this webhook is triggered
topic stringrequired
The topic of the subscription you want to register. Examples include commerce/customers
, accounting/invoices
, sync/completed
, etc. Find a full list of topics here
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
message string
{
"message": "Item deleted"
}
{
"message": "Item deleted"
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
Loading...