---
title: "move captures and configs for a script or flow"
method: POST
path: "/w/{workspace}/capture/move/{runnable_kind}/{path}"
tags: ["capture"]
---

# move captures and configs for a script or flow

`POST /w/{workspace}/capture/move/{runnable_kind}/{path}`

## Path parameters

- `workspace` string, required
- `runnable_kind` 'script' | 'flow', required
- `path` string, required

## Request body

- object
  - `new_path` string

## Response `200`

captures and configs moved

---

[API](https://skmtc.dev/windmill/apis/windmill-api.md) · [All operations](https://skmtc.dev/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/7b281701c340/schema)
