---
title: "POST /api/v2/folders/move"
method: POST
path: "/api/v2/folders/move"
tags: ["Folders"]
---

# POST /api/v2/folders/move

`POST /api/v2/folders/move`

Move a folder and its static-secret contents to a new path, optionally in a different environment

## Request body

- object
  - `projectId` string, required
  - `folderId` string, uuid, required
  - `destinationEnvironment` string, required
  - `destinationPath` string

## Response `200`

Default Response

- object
  - `folderId` string, required
  - `sourceEnvironment` string, required
  - `sourcePath` string, required
  - `destinationEnvironment` string, required
  - `destinationPath` string, required

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `422` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/infisical/apis/infisical-api.md) · [All operations](https://skmtc.net/infisical/apis/infisical-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/infisical/infisical-api/versions/885aef3e6c11/schema)
