Skip to content
Go to Micro

Delete a triggered automation and its filter trees

triggered_automations.delete(strautomation_id, TriggeredAutomationDeleteParams**kwargs)
DELETE/v2/prism/{teamId}/{automationObjectType}/triggered_automations/{automationId}

Delete a triggered automation and its filter trees

ParametersExpand Collapse
team_id: Optional[str]
formatuuid
automation_object_type: Literal["message", "action", "event", 6 more]

Object types that support triggered automations. Must match the triggered-automation whitelist in @micro/database migrate-sql (TRIGGERED_AUTOMATION_OBJECTS).

One of the following:
"message"
"action"
"event"
"document"
"identity"
"linkedin_message"
"deal"
"organization"
"contact"
automation_id: str
formatuuid

Delete a triggered automation and its filter trees

import os
from micro_so import Micro

client = Micro(
    api_key=os.environ.get("MICRO_API_KEY"),  # This is the default and can be omitted
)
client.triggered_automations.delete(
    automation_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    automation_object_type="message",
)
Returns Examples