---
title: "Move table to folder"
method: PATCH
path: "/table-folders/tables/{tableId}"
tags: ["Tables"]
---

# Move table to folder

`PATCH /table-folders/tables/{tableId}`

## Request

- Base URL: `https://workflow.loopfour.ai/api/v1`
- URL: `https://workflow.loopfour.ai/api/v1/table-folders/tables/{tableId}`
- Auth: API key in header `x-api-key`

Moves a table into a folder, or to the root if folderId is null.

## Path parameters

- `tableId` string, uuid, required

## Request body

- object
  - `folderId` string, uuid, nullable, required: Target folder ID, or null for root.

## Response `200`

Table moved

- object
  - `success` unknown
  - `data` object
    - `tableId` string
    - `folderId` string, nullable

## Other responses

- `400`: Bad request — invalid parameters or request body.
- `401`: Missing or invalid API key.
- `403`: Forbidden — insufficient permissions for this resource.
- `404`: Resource not found.

---

[API](https://skmtc.dev/loopfour/apis/loopfour-workflows-api.md) - [All operations](https://skmtc.dev/loopfour/apis/loopfour-workflows-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loopfour/apis/loopfour-workflows-api/revisions/872822a3af00?raw)
