Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Status: 204 No Content


...

 

Request URI: /path/to/some/resource/fcr:versions/versionName

Methods: DELETE

Status
colourRed
titleDELETE
Remove a previous version of an object

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.