v3

latestOpenAPI 3.0.32026-07-31489099.0 KB
Automations

Update Automation Status

Disable or archive an Automation

patch/accounts/{account_id}/automations/{automation_id}

Path parameters

account_idstring required

ID of the resource

Example:2VZvtmVc2j3gQ80CTlcuQXbGrwC

Account ID

automation_idstring required

ID of the resource

Example:2VZvtmVc2j3gQ80CTlcuQXbGrwC

Automation ID

Request body

status'disabled' | 'archived' required

Response

OK

created_atstring date-time

ISO-8601 timestamp that includes date and time

idstring

ID of the resource

namestring required
status'pending' | 'active' | 'disabled' | 'archived' required
updated_atstring date-time

ISO-8601 timestamp that includes date and time

Example response

{
  "created_at": "2020-01-01T12:00:00Z",
  "id": "2VZvtmVc2j3gQ80CTlcuQXbGrwC",
  "updated_at": "2020-01-01T12:00:00Z"
}