What it does
Delete a Trigger. Without confirm true it deletes nothing and returns a warning: its label, description, when it runs, its Integration, and that the key stays. Never touches the Integration or its key. Its log stays.
Plans
Needs a paid plan: Basic, Pro or Ultra. On other plans your agent gets an error that says so. See Limits for what each plan includes.
Parameters
| Name | Type | About |
|---|---|---|
site_idrequired | string | The id of the site. list_sites gives the ids of your sites. |
namerequired | string | The Trigger to delete. Its Integration and key stay. |
confirm | boolean | true deletes it, after the owner said yes. Without it nothing is deleted and the answer is a warning. |
Example
Call delete_trigger with these arguments:
{
"site_id": "01a1…",
"name": "new_invoice"
}
Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.
Related guides
- When to send, and whatTriggers: what starts them and what they send.