deleteAssetMetadata

Deletes metadata values for an asset. Works with an array of metadata delete to set values in a batch.

Syntax

Authorized user types

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • ImagePortalAdmin
  • ImagePortalContrib
  • ImagePortalContribUser
NOTE

The user must have read and delete access to the asset.

Parameters

Input (deleteAssetMetadataParam)

Name

Type

Required

Description

companyHandle

xsd:string

Yes

The handle to the company to which the folder belongs.

assetHandle

xsd:string

Yes

The handle to the asset to delete.

metadataDelete

xsd:string

Yes

Metadata to delete from the asset.

deleteArray

types:MetadataDeleteArray

Yes

Array of metadata to delete from the asset.

Output (deleteAssetMetadataParam)

The IPS API does not return a response for this operation.

Examples

MetadataDelete

    <complexType name="MetadataDelete">
        <sequence>
            <element name="fieldHandle" type="xsd:string"/>
        </sequence>
    </complexType>

Example call

<ac:Request id="deleteAssetMetadata">
 <deleteAssetMetadataParam xmlns="http://www.scene7.com/IpsApi/xsd/2013-08-29-beta">
  <companyHandle>c|101</companyHandle>
  <assetHandle>a|202</assetHandle>
  <deleteArray>
   <items>
    <fieldHandle>m|2919|ASSET|UntypedUDFField1395788289789</fieldHandle>
   </items>
  </deleteArray>
 </deleteAssetMetadataParam>
</ac:Request>

On this page