v1

latestOpenAPI 3.1.02026-08-066484183.6 MB
Folders

Reposition a folder

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.

{
  "data": {
    "type": "folders",
    "attributes": { "move_after_id": 5521 }
  }
}
patch/api/v2/folders/{id}/reposition

Path parameters

idstring required

The numeric ID of the folder.

Headers

X-Organization-Idstring required

Organization ID

Response

A single folder resource response.