---
title: "Replace all actions for a flow"
method: PUT
path: "/flows/{flowId}/actions"
tags: ["Flows"]
---

# Replace all actions for a flow

`PUT /flows/{flowId}/actions`

Replace a flow's entire action list with the supplied set (at least one required). Each action references an `actionId` and a unique `position`, and may include nested `children`, a `nameOverride`, param `overrides`, and a `continueOnError` flag. Returns 404 if the flow does not exist.

## Path parameters

- `flowId` string, uuid, required

## Request body

- SetFlowActionsBody
  - `actions` FlowActionInput[], required
    - `actionId` string, uuid, required
    - `position` integer, required
    - `continueOnError` boolean
    - `nameOverride` string
    - `overrides` FlowActionOverrides, nullable
      - `params` object
    - `children` FlowChildActionInput[]
      - `actionId` string, uuid, required
      - `position` integer, required
      - `continueOnError` boolean
      - `nameOverride` string
      - `overrides` FlowActionOverrides, nullable
        - `params` object

## Response `200`

Flow actions replaced

- object
  - `data` FlowAction[], required
    - `id` string, uuid, required
    - `flowId` string, uuid, required
    - `actionId` string, uuid, required
    - `parentFlowActionId` string, uuid, nullable, required
    - `position` integer, required
    - `continueOnError` boolean, required
    - `nameOverride` string, nullable, required
    - `overrides` object, nullable, required
      - `params` object
    - `createdAt` string, nullable, required

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/mobilerun/apis/workflows.md) · [All operations](https://skmtc.net/mobilerun/apis/workflows/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mobilerun/workflows/revisions/1bc499aa8f99/schema)
