---
title: "Move assets to a folder"
method: POST
path: "/api/v1/media/move"
tags: ["Media Library"]
---

# Move assets to a folder

`POST /api/v1/media/move`

folderId = null moves the assets to root.

## Request body

- MoveMediaDTO
  - `assetIds` string[], required
  - `folderId` string, uuid, nullable — null = library root.

## Response `204`

Successful Response

## Other responses

- `404` — Not Found
- `422` — Validation Error

---

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