Skip to main content
Skip table of contents

deleteAsset

This command enables deletion of a single asset on the PES. The PES expects an asset name (without any regular expressions)  as #PCDATA. Assets present in the todolist and reencrypttodolist will never be deleted.

Input Parameters

Fields
Values
Description
 #PCDATAA valid file nameThe name of the asset

Output Result

Fields
Values
Description
CommanddeleteAssetsEcho of the command element name
Code
-1
1
0 = success 
-1 = DTD Violation 
1 = Processing Error
#PCDATAA text messageReport how many assests are deleted

Processing Errors

  • "Not a master manager”  - MAS connected to a slave manager
  • a regular expression error as reported by regcomp.
  • "directory ....”  - some problem with the assetsdirectory"
  • "directory ....”  - some problem with the reencryptassetsdirectory"

Examples

Request

CODE
<deleteAsset>\.mpg$</deleteAsset>

Response On Success

CODE
<Result Command="deleteAsset" Code="0">     
    <Description>Not a Master Manager</Description>     
</Result>

Response On Failure

CODE
<Result Command="deleteAsset" Code="1">        
<Description>Not a Master Manager</Description>     
</Result>

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.