📁 Content Library
Move media between folders
Changed onMoves the given media into a folder. Pass folder_id=null to move items to Uncategorized. Note that moving an archived item also restores it from the archive, matching the behaviour of the web app. Reversible.
post/api/v1/workspaces/{workspace_id}/media/move
Request
- Base URLhttps://api.contentstudio.io
- URLhttps://api.contentstudio.io/api/v1/workspaces/{workspace_id}/media/move
- AuthAPI key in header X-API-Key
Path parameters
workspace_idstring required
Example:610a1e660cb41530ca40d372
Request body
Example request
{
"media_ids": [
"625d06734ceb636c2f5e7743"
],
"folder_id": "625d06734ceb636c2f5e7799"
}Response
Media moved. Assets already in the destination are reported under skipped rather than failing the request, so a repeated call is a safe no-op.
Example response
{
"status": true,
"message": "Media moved successfully.",
"moved": 1
}Changes
- info
endpoint added
- info