Move an asset

Beta

Move an asset into a folder or to the workspace root. The asset ID determines the workspace used for authorization; parent_folder_id must belong to the same workspace.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

asset_idstringRequired

Request

This endpoint expects an object.
parent_folder_idstring or nullOptional
ID of the destination folder. Pass null or omit the field to move the asset to the workspace root.
target_drive_idstring or nullOptional

Optional drive asset ID. When provided without parent_folder_id, the asset moves to the drive root.

Response

Asset moved successfully
asset_idstring
ID of the moved asset
asset_typestring
Type of the moved asset
titlestring
Title of the moved asset
parent_folder_idstring or null
ID of the new parent folder, or null for workspace root
workspace_idstring or null
ID of the workspace that owns the asset

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error