Remove Assets From Folder

Remove one or more assets from their current folder assignment inside the workspace.

Path Parameters
  • workspace_id
    Type: string
    required

    Video workspace id.

Body
application/json
  • asset_ids
    Type: array string[]
    required
Responses
  • application/json
  • application/json
Request Example for post/video/workspaces/{workspace_id}/remove-assets-from-folder
import Gumlet from '@gumlet/nodejs-sdk';

const client = new Gumlet({
  apiKey: process.env['API_KEY'], // defaults to the API_KEY env var
});

const folder = await client.folders.deleteAssets('workspaceId', {
  asset_ids: ['67e4f2b4403562dbea654301', '67e4f2bb403562dbea654302'],
});

console.log(folder);
{
  "message": "Assets removed from folder successfully",
  "removedCount": 2
}