...
The endpoint to mark an existing document as "deleted" is as follows:
Code Block | ||
---|---|---|
| ||
http://<nuxeoserverip>:<nuxeoport>/nuxeo/api/v1/automation/Document.SetLifeCycle
|
This must be called as http-POST with body information as follows:
Code Block | ||
---|---|---|
| ||
{"params":{"value":"delete"},"input":"/default-domain/workspaces/Patricia/<pathToDocument>","context":{}} |
In the above, <nuxeoserverip>, <nuxeoport>, and <pathToDocument> must be replaced by the appropriate values.