...
Code Block |
---|
Status: 204 No Content |
...
Request URI: /path/to/some/resource/fcr:versions/versionName
Methods: DELETE
Remove a previous version of an object Status colour Red title DELETE
Example:
Code Block |
---|
curl -X DELETE http://localhost:8080/rest/path/to/resource/fcr:versions/versionName |
Response:
Code Block |
---|
Status: 204 No Content |
Note |
---|
Trying to delete the current version of a resource will result in an error. To revert to an old version of a resource, first revert to the old version using the PATCH method, and then delete the newer version. |