Update Tags
client.assets.updateTags(stringassetID, AssetUpdateTagsParams { add, _delete, strict } body, RequestOptionsoptions?): AssetUpdateTagsResponse { added, deleted }
PUT/assets/{assetId}/tags
Add/delete tags on a specific asset
Update Tags
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.updateTags('assetId');
console.log(response.added);{
"added": [
"string"
],
"deleted": [
"string"
]
}Returns Examples
{
"added": [
"string"
],
"deleted": [
"string"
]
}