This is the specification for applications that delete a Document resource.
Deletion of a Document will result in all associated resources (i.e. Draft, Comment, Version) being deleted as well. In Lotus Quickr 8.5 for Domino, it is deleted to Trash.
Perform a DELETE operation on one of the following URL formats:
Delete the specified document in the specified library
This method requires authentication. In order to delete a document, the currently authenticated user must be owner of the user library containing the document or an administrator. To test whether the current user can delete a document, use the Retrieve a Document API with the "acls" parameter equal to "true", and check the <td:permission> element for the "Delete" flag.
The following HTTP headers may be supported for this operation.
Tunnel a 'DELETE' request over HTTP POST
The following URL arguments are supported on this operation. The default value for any argument is marked as bold
in the table below.
|deleteResponses||boolean (true, false) ||If true, all child responses will be deleted.|
Returned when the cause of an error is unknown
Returned when the cause of an error is due to a permission restriction
Returned when the cause of an error is related to a resource not being found
|unique identifier of a resource in trash|