Skip to main content
POST
Move Items

Authorizations

Authorization
string
header
required

Aspect API key (sk_...) in Authorization header. 'Bearer ' optional.

Body

application/json

API request schema for moving filesystem items to a new parent directory

destination_directory_id
string<uuid>
required

ID of the destination parent directory

asset_ids
string<uuid>[] | null

List of asset IDs to move

directory_ids
string<uuid>[] | null

List of directory IDs to move

List of symlink IDs to move

Response

Successful Response

API response schema for moving filesystem items

moved_asset_count
integer
required

Number of assets successfully moved

moved_directory_count
integer
required

Number of directories successfully moved

Number of symlinks successfully moved