---
title: "Moves charts into a folder"
method: PATCH
path: "/charts"
---

# Moves charts into a folder

`PATCH /charts`

Requires scopes `chart:write`.

## Request body

- object
  - `ids` string[], required — The IDs of the charts that should be updated.
  - `patch` object, required — An object containing the chart attributes that should be updated.
    - `folderId` number, required — ID of the folder that the visualization should be moved into. The authenticated user must have access to this folder.
    - `teamId` string — ID of the team that should own the visualization. The authenticated user must have access to this team.
    - `workspace` string — Slug of the workspace that the visualization should be moved into. The authenticated user must have access to this workspace.

## Response `200`

Successful

---

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