Move one asset into a folder

Moves a single asset. Omit uploadFolderId (or send null) to move it to the root of the media library.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
curl -X PATCH 'https://apis.elai.io/api/v1/uploads/66a1f0c2b7cd13032a9c6400/move' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "uploadFolderId": "66a1f0c2b7cd13032a9c6100"
}'
{
  "message": "Upload moved successfully"
}
Path Params
string
required

24-char hex ObjectId of the asset.

Body Params
string | null

Destination folder, or null/omitted for the root.

Responses

uploadId is not a valid ObjectId, or the destination folder does not belong to this workspace.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json