Skip to content

Delete an automation

DELETE/v1/automations/{id}

Deletes an automation, turns off its triggers and dismisses the runs it has waiting for review. This cannot be undone; deleting it again returns 404.

Requires an API key whose user is a workspace owner or admin.

Required scope: automations:delete

Rate limit category: Write

Path ParametersExpand Collapse
id: string

Unique identifier of the automation to delete.

Body ParametersJSONExpand Collapse
body: optional object { }
ReturnsExpand Collapse
AutomationDeleteResponse object { id, deleted, objectType }
id: string
deleted: boolean

Always true.

objectType: "automation"

Delete an automation

curl https://api.lightfield.app/v1/automations/$ID \
    -X DELETE \
    -H 'Lightfield-Version: 2026-03-01' \
    -H "Authorization: Bearer $API_KEY"
{
  "id": "id",
  "deleted": true,
  "objectType": "automation"
}
Returns Examples
{
  "id": "id",
  "deleted": true,
  "objectType": "automation"
}