Update an automation
PUT /automations/{uuid}
/automations/{uuid}Changes the title and the description of an automation. The audience cannot be changed: it is ignored if you send it.
When to use: To rename an automation or edit its description.
When not to use: To change when it starts or what it does, edit its triggers and steps. To switch it on or off, use automation_activate or automation_pause.
Permissions: Requires the author role or higher, or the marketing.automations.write capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the automation, as returned by list_automations.
The updated Automation resource
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.easymailing.com/automations/0df14405-90ff-4287-b3e4-ef088901ee6f" \ -H "X-Auth-Token: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "title": "string", "description": "string", "audience": "string" }'{ "id": 0, "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "title": "string", "description": "string", "status": "automation.status.draft", "audience": "string", "stats": { "completed": 0, "in_queue": 0, "canceled": 0 }, "automation_triggers": [ { "trigger_type": "trigger.admin.manual", "active": true, "workflow_repeat": true, "trigger": null, "count_automation_queues": 0, "count_completed_automation_queues": 0, "count_queued_automation_queues": 0, "count_canceled_automation_queues": 0 } ], "first_step": "/entity/1", "orphan_steps": [ "/entity/1" ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}