---
title: "Reposition a folder"
method: PATCH
path: "/api/v2/folders/{id}/reposition"
tags: ["Folders"]
---

# Reposition a folder

`PATCH /api/v2/folders/{id}/reposition`

Reorders a folder among the other folders in its project. Pass `move_before_id` and/or `move_after_id` — the IDs of the folders to position it relative to. When both are provided, the folder is placed between them.

```json
{
  "data": {
    "type": "folders",
    "attributes": { "move_after_id": 5521 }
  }
}
```

## Path parameters

- `id` string, required

## Headers

- `X-Organization-Id` string, required

## Response `200`

A single folder resource response.

---

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