---
title: "Move tables into a folder"
method: POST
path: "/tables/move/"
tags: ["tables"]
---

# Move tables into a folder

`POST /tables/move/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/tables/move/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Put these tables in a folder, or at the top level of the Tables list with a null folder_id. Archived tables move too, and go back to that folder when restored. A table still waiting to be filed after folders replaced tags counts as filed.

## Request body

- TableMoveSchema: Request body for putting tables in a folder.
  - `folder_id` string, uuid, nullable, required: The folder to put them in; null for the top level of the Tables list.
  - `table_ids` string[], required: The tables to move.

## Response `200`

Successful Response

- TablesChangedSchema: Which tables a move, owner change or archive actually changed.
  - `table_ids` string[], required: The tables changed. One already as asked, missing or in Trash is left out.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Folder not found
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
