Bulk Delete
Delete multiple VOD assets at once.
Body
application/json
- Type: array of stringasset
_list requiredLIst of asset ids to delete
- Type: stringsource
_id requiredWorkspace ID from which assets needs to be deleted.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for delete/video/assets/bulk/delete
import Gumlet from '@gumlet/nodejs-sdk';
const client = new Gumlet({
apiKey: process.env['API_KEY'], // defaults to the API_KEY env var
});
const videoAsset = await client.videoAssets.deleteMany({
source_id: '60bd2ba353ff754d28179ee6',
asset_list: ['64249a8858fd3a208b987702', '64784bae843b155b829bbf84'],
});
console.log(videoAsset);
{
"success": true
}
