Skip to main content
DELETE
Delete a webhook

Authorizations

Authorization
string
header
required

An API key minted in Command Center (Settings -> API Keys), sent as Authorization: Bearer 2501_ak_.... A Command Center session cookie is also accepted.

Path Parameters

id
string
required

Body

application/json
servicenow_admin
object

A ServiceNow account allowed to write Business Rules. When present, 2501 creates or deletes the Business Rule in the instance of the gateway. Used for this request only: never stored, logged or returned.

Response

Delete result

id
string
required
Example:

"whk_9c31e07b-..."

deleted
enum<boolean>
required
Available options:
true
business_rule_deleted
boolean

With servicenow_admin only: whether a Business Rule named after the webhook existed in the instance and was deleted.