Administrators can delete a document by uploading a control file asynchronously.
The following shows a control file that deletes a document:
<?xml version="1.0" ?>
<controlFile>
<resources>
<resource>
<originId>origin_id</originId>
<publishStatus>deleted</publishStatus>
</resource>
</resources>
</controlFile>
It is not possible to use a spreadsheet control file in this situation.
- When uploading a control file asynchronously, use the same source as the content it is targeting.
-
It is also possible to:
- Use the Delete a map web service.
- Use the Delete an unstructured document web service.
- Delete a document through the interface.