automations

Delete Automation

Move an automation to Trash (soft-delete) by default — reversible.

Reconciliation: archived STATUS is the inactive-but-visible state (use the /archive endpoint); the Trash (deleted_at) is the hidden + restorable state. A DELETE now stamps deleted_at / deleted_by and clears next_run_at so the scheduler skips it, dropping the automation out of every active read. Restorable via /restore.

Pass ?purge=true to permanently drop it + its activities / runs (FK CASCADE) — the irreversible hard delete; requires Trash first.

delete/api/automations/{automation_id}

Request

  • Base URL: https://app.sentientmail.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.sentientmail.com/api/automations/{automation_id}
  • Auth: none declared

Path parameters

automation_idstring uuid required

Query parameters

purgeboolean

Cookies

esp_sessionstring nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.