Delete a webhook
DELETE/api/v2/webhooks/{webhookId}
Deletes one of your firm’s webhooks. Events stop being sent to its URL straight away, it no longer appears in List webhooks or in API Settings, and you can register a new webhook for the same event.
Path parameters
| Param | Type | Required | Description |
|---|---|---|---|
webhookId | number | Required | The id of the webhook to delete. |
Request
cURL
DELETE /api/v2/webhooks/{webhookId}
curl --location --request DELETE 'https://www.reviewsolicitors.co.uk/api/v2/webhooks/{webhookId}' \
--header 'Authorization: Bearer {access_token}'Response
200 OK
{
"message": "Webhook removed"
}Errors
| Code | Cause |
|---|---|
| 404 | No active webhook with that webhookId belongs to your firm, including one you have already deleted. |
Last updated on