TypeScript client
Assets
Move assets
Move a batch of assets into a folder in one call (pass folderId: null to move them to the library root). Returns the moved count. Use this for bulk reorganization instead of updating assets one at a time.
POST
TypeScript client
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.
Body
application/json
an array of at most 100 item(s)
Required array length:
1 - 100 elementsa Universally Unique Identifier
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Destination folder id; null moves the assets to the root of the media library.
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Response
Success