ShowTable of Contents
Overview
This is the specification for applications that delete Version resources from a Document.
URL endpoints
Perform a DELETE operation on one of the following URL formats:
URL | Description |
/library/{library-id}/document/{document-id}/feed | Delete versions. |
Authentication
This method requires authentication. The authenticated user must have 'Delete' authority on the specified resource.
Arguments
The following HTTP headers may be supported for this operation.
Header | Description |
X-Method-Override | 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.
Argument | Values | Description |
category | String { version } | Resource being delete, required argument for feed url. |
delete | int | Required for versions. This is the version number to start deleting from. All version numbers less than or equal to this version number are deleted. |
Error Codes
The following error codes could appear in a response body for an invalid request:
Error Code | Description |
Unknown | Returned when the cause of an error is unknown |
AccessDenied | Returned when the cause of an error is due to a permission restriction |
ItemNotFound | Returned when the cause of an error is related to a resource not being found |
Example Request for Quickr Domino 8.5
POST /dm/atom/library/_Ptest002_RMain.nsf/document/_Ptest002_RMain.nsf_D46DD905A03108B0F48257853002BDB79/feed?category=version&deleteFrom=4 HTTP/1.1
Host: example.com
Content-Type: application/atom+xml
X-Method-Override: DELETE
<?xml version="1.0" encoding="utf-8"?>
<a:entry xmlns:a="http://www.w3.org/2005/Atom">
</a:entry>
Example Response for Quickr Domino 8.5