Skip to main content
PATCH
/
v2
/
folders
/
{folderId}
Update Folder
curl --request PATCH \
  --url https://api.tusky.io/v2/folders/{folderId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "parentId": "<string>"
}
'
Rename or move a folder.

Path Parameters

folderId
string
required
The folder ID.

Request Body

name
string
New folder name.
parentId
string
New parent folder ID. Set to null to move to environment root.

Example

curl -X PATCH https://api.tusky.io/v2/folders/folder_xyz789 \
  -H "Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Vacation Photos"}'

Response

{
  "id": "folder_xyz789",
  "name": "Vacation Photos",
  "environmentId": "env_abc123",
  "parentId": null,
  "updatedAt": "2026-03-06T14:00:00Z"
}