Deletes an asset.
Syntax
IpsUser
IpsAdmin
IpsCompanyAdmin
ImagePortalAdmin
ImagePortalContrib
ImagePortalContribUser
The user must have read and delete access to the asset.
Input (deleteAssetParam)
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. |
Output (deleteAssetParam)
The IPS API does not return a response for this operation.
This sample code deletes any type of asset from a specific company. It requires an asset handle, which you must obtain from another operation.
Request
<ns1:deleteAssetParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd">
<ns1:companyHandle>47</ns1:companyHandle>
<ns1:assetHandle>24265|1|17061</ns1:assetHandle>
</ns1:deleteAssetParam>
Response
None.