Skip to main content
DELETE /v1/issuer/automations/{automation_id}/webhook API Key

Revoke webhook token

Revoke the webhook token, disabling external webhook triggers for this automation.

Use case: Disable webhook capability entirely, or as an emergency measure if the token is compromised.

After revocation, the automation can still be triggered via API (with POST /trigger) or on schedule.
To re-enable webhooks, generate a new token with POST.

Parameters

Name Location Type Description
automation_id * path string Automation ID
X-API-Key * header string Issuer API key for authentication

* Required parameter

Response

200 Webhook token revoked

Content-Type: application/json

success boolean
data object
message string

Code Examples

import os
from aho_sdk import AhoSdk

client = AhoSdk.issuer(api_key=os.environ["AHO_API_KEY"])

result = client.automations.delete_webhook(
    automation_id="example_automation_id"
)

Try It

Log in to test this endpoint directly from the documentation.

Log in