/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
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"
)
client = AhoSdk.issuer(api_key: ENV["AHO_API_KEY"])
result = client.automations.delete_webhook(
automation_id: "example_automation_id"
)
import { AhoSdk } from '@aho/sdk';
const client = AhoSdk.issuer({ apiKey: process.env.AHO_API_KEY });
const result = await client.automations.delete_webhook({
automationId: "example_automation_id"
});
curl -X DELETE 'https://api.aho.com/v1/issuer/automations/example_automation_id/webhook' \
-H 'X-API-Key: $AHO_API_KEY'
Try It
Log in to test this endpoint directly from the documentation.
Log in