updateAsset()

Update asset properties for specified asset

Parameters

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

Examples

const asset= await assetlayer.assets.updateAsset({
    properties: {key1:value1, key2:value2},
    assetId: 'assetId'
});

Return Types

type ReturnType = string;

Alternatives

pageupdate()

Last updated