Skip to content
Get started

Delete Multiple

client.assets.deleteMultiple(AssetDeleteMultipleParams { assetIds } body, RequestOptionsoptions?): AssetDeleteMultipleResponse
DELETE/assets

Delete multiple assets

ParametersExpand Collapse
body: AssetDeleteMultipleParams { assetIds }
assetIds: Array<string>

The ids of the assets to delete. (Max 100 at once)

ReturnsExpand Collapse
AssetDeleteMultipleResponse = unknown

Delete Multiple

import Scenario from '@scenario-labs/sdk';

const client = new Scenario({
  apiKey: process.env['SCENARIO_SDK_API_KEY'], // This is the default and can be omitted
  apiSecret: process.env['SCENARIO_SDK_API_SECRET'], // This is the default and can be omitted
});

const response = await client.assets.deleteMultiple({ assetIds: ['string'] });

console.log(response);
{}
Returns Examples
{}