Replaces all steps of an automation

Replaces the whole step tree with the given steps (same shape as in POST /automations). Refused with 409 while anyone is actively enrolled, because removing steps strands people mid flow; deactivate the automation and wait for enrollments to finish, or edit single steps in place with PATCH /automations/{id}/steps/{step_id}.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Body Params
steps
array of objects
required
steps*
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json