deleteAsset
Deletes an asset.
Syntax
Authorized User Types
IpsUser
IpsAdmin
IpsCompanyAdmin
ImagePortalAdmin
ImagePortalContrib
ImagePortalContribUser
NOTE
The user must have read and delete access to the asset.
Parameters
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.
Examples
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.
4e9b9d8c-5839-4215-aa35-01b652869681