Skip to main content
POST
Move assets to another library

Authorizations

Authorization
string
header
required

Gumnut API key (apikey_...) sent as a Bearer token in the Authorization header. Create and manage keys in the Gumnut app, or with the API key endpoints while signed in to it.

Body

application/json

Request body for moving assets from one library to another.

source_library_id
string
required

Library the assets are in now. The caller must own it.

destination_library_id
string
required

Library to move the assets into. The caller must own it or be a collaborator on it. Must differ from source_library_id.

asset_ids
string[]
required

Asset IDs (each with the asset_ prefix) to move.

Required array length: 1 - 200 elements

Response

Successful Response

data
AssetMoveResult · object[]
required

One result per distinct requested asset ID, in request order.