pagehive

delete_trigger

Delete a Trigger.

IntegrationsChanges dataBasic and upUpdated

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

NameTypeAbout
site_idrequiredstringThe id of the site. list_sites gives the ids of your sites.
namerequiredstringThe Trigger to delete. Its Integration and key stay.
confirmbooleantrue 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