Webhooks
Delete a webhook endpoint
Changed onPermanently delete a webhook endpoint and its delivery history. To pause deliveries without losing the configuration, update the status to disabled instead.
delete/v1/webhooks/{id}
Request
- Base URLhttps://api.creem.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The webhook ID
Response
Successfully deleted the webhook endpoint
Example response
{
"object": "webhook",
"store_id": "sto_1234567890",
"name": "Production billing events",
"url": "https://example.com/webhooks/creem",
"events": [
"checkout.completed",
"subscription.paid"
],
"secret": "whsec_xxxxxxxxxxxxxxxxxxxx"
}Changes
- info
added the required property
to the response with the status
- info
- info
endpoint added
- info