Skip to content

Delete a webhook endpoint and its delivery log

DELETE/v1/webhooks/{id}Key ·

Delete a webhook endpoint and its delivery log.

Authentication

API key: Authorization: Bearer sl_live_… with any scope. The dashboard session works too.

An API key always acts in its own workspace. With a dashboard session, pass ?workspaceId= to choose the workspace (default: your first).

Parameters

NameInDescription
id
required
path

string

Response

204 — Deleted

Errors

Errors are JSON: {"error": "<code>", "message": "<a sentence>"}. Branch on error, show message. Every code is explained in Errors.

StatuserrorWhen
401unauthorizedMissing or invalid API key / session
403forbiddenAPI key lacks the read + send scopes
404not_foundWebhook or delivery not found
500internalInternal error

Examples

Set SIMLINE_API_KEY to your key first. Node examples use the built-in fetch (Node 18+, run as an ES module); Python uses requests.

Terminal window
curl -X DELETE "https://api.simline.dev/v1/webhooks/whe_Vb3nq0x5cE1h2kF8sYp4Tg" \
-H "Authorization: Bearer $SIMLINE_API_KEY"