Rename or move a folder

Renames a folder, re-parents it, or both. An absent parentId leaves the parent alone; null moves the folder to the top level. A folder cannot be moved inside itself or one of its own descendants.

patch/v1/folders/{folderId}

Request

  • Base URL: https://api.payaion.com
  • URL: https://api.payaion.com/v1/folders/{folderId}
  • Auth: one of:
    • API key in header X-Aion-Key
    • HTTP bearer

Path parameters

folderIdstring uuid required

Folder id returned by GET /v1/storage or POST /v1/folders

Request body

namestring
parentIdstring nullable

Response

Folder updated

folderIdstring uuid
namestring
parentIdstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.