Move a file into a folder

Re-files an upload. folderId: null moves it back to the storage root. Nothing else changes: the share link, price, expiry and stored bytes are untouched, and storage usage does not move.

post/v1/files/{uploadId}/move

Request

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

Path parameters

uploadIdstring required

Upload ID from the upload endpoint

Request body

folderIdstring nullable

Destination folder id, or null for the storage root

Response

File moved

okboolean
uploadIdstring
folderIdstring nullable

Changes

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