Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Delete a webhook endpoint and its delivery history.
cURL
curl --request DELETE \ --url https://api.gainflow.ai/v1/webhooks/{webhook_id} \ --header 'Authorization: Bearer <token>'
import requests url = "https://api.gainflow.ai/v1/webhooks/{webhook_id}" headers = {"Authorization": "Bearer <token>"} response = requests.delete(url, headers=headers) print(response.text)
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.gainflow.ai/v1/webhooks/{webhook_id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "deleted": true, "webhook_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
{ "type": "<string>", "title": "<string>", "status": 123, "code": "UNAUTHORIZED", "request_id": "<string>", "detail": "<string>" }
Either a Gainflow API key (gf_live_*) or a WorkOS AuthKit OAuth 2.1 JWT.
Deletion confirmation