Docs
Schedule demo Open app

Update a folder

PUT https://app.eraser.io/api/folders/{folderId}

Example request

curl --location --request PUT 'https://app.eraser.io/api/folders/xK9mPq2vR' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $YOUR-TOKEN-HERE' \
--data '{
  "name": "Updated Name"
}'

Example response

{
  "success": true
}

Path parameters

folderId string requiredpath

Request body

name string

New folder name

parentFolderId string | null

New parent folder ID, or null for root

Responses

200 – Update successful

success boolean required
200 response
{
  "success": true
}

400 – Invalid folder ID or request body

401 – Missing or invalid bearer token

403 – Unauthorized

404 – Folder not found

500 – Internal server error