Skip to main content
POST
Move To Trash

Authorizations

Authorization
string
header
required

JWT in Authorization header. 'Bearer ' prefix optional.

Body

application/json

API request schema for moving filesystem items to the project trash.

The backend resolves the trash_directory_id from the project, so the client only needs to supply the project_id and the item IDs to trash. Conflict resolution is automatic (parenthesized numbering) and never requires user interaction.

project_id
string<uuid>
required

Project ID the items belong to

asset_ids
string<uuid>[] | null

List of asset IDs to move to trash

directory_ids
string<uuid>[] | null

List of directory IDs to move to trash

List of symlink IDs to move to trash

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

revision_results
MoveItemRevisionResult · object[]

Per-item revision info for each moved item