iQ Suite - Docs
SDK ReferenceWebhooks

Delete Webhook

Remove an existing webhook from your account.

Description

The Delete Webhook endpoint allows you to remove an existing webhook from your account. This is useful for disabling integrations that are no longer needed or were created by mistake.

Webhooks

Webhooks are best managed in our platform dashboard. You can create, update, and delete webhooks from the dashboard.

HTTP Request

POST /webhooks/delete

Authentication

All requests must include an Authorization header with a valid API key.

Headers

KeyValue
AuthorizationBearer YOUR_API_KEY
Content-Typeapplication/json

Request Body

  • webhook_id: The ID of the webhook to delete.

JSON

FieldTypeDescription
webhook_idstringThe ID of the webhook to delete

Request Example

try:
# Attempt to delete the specified webhook
client.delete_webhook(webhook_id="your_webhook_id")
print("Webhook deleted successfully.")
except APIError as e:
# Handle any API-related errors
print(f"Error deleting webhook: {e}")

Response

Success

Status Code: 200 OK

Body:

{
   "data": {
       "message": "Webhook deleted."
   }
}

On this page