updateAssets()

Update asset properties for specified assets

Parameters

export type UpdateAssetProps = {
    assetIds: string[];
    properties: BasicAnyObject; // JSON including all properties that should be updated with updated values
}

Examples

const assets = await assetlayer.assets.updateAssets({
    properties: {key1:value1, key2:value2},
    assetIds: ['assetId_1', 'assetId_2']
});

Return Types

type ReturnType = string[];

Alternatives

update()

Last updated