Removes an existing webhook subscription
Security
api_key
The subscription topic to delete
Enum:"customer.joined.paid_tier""customer.joined.free_tier""customer.joined.free_trial""customer.joined.lifetime_tier""customer.changed_tier""customer.ordered""customer.payment_succeeded""customer.payment_failed""customer_billing.attempt.failed""customer.credits.updated"
Example:"customer.joined.paid_tier"
- https://public.inveterateapi.comhttps://public.inveterateapi.com/v2.0/admin/webhook-subscriptions
curl -i -X DELETE \
https://public.inveterateapi.com/v2.0/admin/webhook-subscriptions \
-H 'Content-Type: application/json' \
-H 'X-Inveterate-Api-Key: YOUR_API_KEY_HERE' \
-d '{
"topic": "customer.joined.paid_tier",
"id": "string"
}'Returned upon successful request made to our backend. Requests that return this code may take a small amount of time after successful API return to fully update.
The message associated with the response. Generally, the message only confirms the requested action. In the case of errors, the message will give insight into the source of the error.
Response
{ "message": "Request sent successfully", "data": { "id": 1, "name": "John Doe" } }