Skip to content

Delete webhook

DELETE
/api/webhooks/hooks/{id}
curl --request DELETE \
--url https://reignitor.com/api/webhooks/hooks/example \
--header 'Authorization: Bearer <token>'

Removes the webhook. Deliveries stop straight away.

id
required
string

The webhook’s id.

Deleted.

Media typeapplication/json
object
deleted
boolean
Example
{
"deleted": true
}

The key is missing, malformed, unknown or revoked.

Media typeapplication/json

Every error has a human-readable error. Most also have a machine-readable code.

object
error
required

A message you can show to a person.

string
code

A stable code to branch on. Not every error has one.

string
details

Extra context for some codes, such as retryAfter or usage figures.

retryAfter

Seconds to wait before retrying. Present on some RATE_LIMITED errors.

integer
feature
string
plan
string
key
additional properties
any
Examples

No key, or not an emp_ key

{
"error": "Unauthorized",
"code": "NO_API_KEY"
}

No webhook with this ID on your account.

Media typeapplication/json

Every error has a human-readable error. Most also have a machine-readable code.

object
error
required

A message you can show to a person.

string
code

A stable code to branch on. Not every error has one.

string
details

Extra context for some codes, such as retryAfter or usage figures.

retryAfter

Seconds to wait before retrying. Present on some RATE_LIMITED errors.

integer
feature
string
plan
string
key
additional properties
any
Example
{
"error": "Hook not found"
}

Something went wrong on our side.

Media typeapplication/json

Every error has a human-readable error. Most also have a machine-readable code.

object
error
required

A message you can show to a person.

string
code

A stable code to branch on. Not every error has one.

string
details

Extra context for some codes, such as retryAfter or usage figures.

retryAfter

Seconds to wait before retrying. Present on some RATE_LIMITED errors.

integer
feature
string
plan
string
key
additional properties
any
Example
{
"error": "Something went wrong handling that request."
}