Delete revision
note
[Since 2017.02]
A request to delete file’s revision. It’s impossible to remove a revision of a file opened for collaboration.
DELETE /api/v1/files/{fileId}/revisions/{revId}
- Path parameters
| Parameter | Description |
|---|---|
fileId | Id of a file |
revId | Id of a revision |
- Example request
curl 'http://localhost:8080/api/v1/files/189387417/revisions/189387727' –I \
-X DELETE \
-H 'X-co-auth-token: e938ba0fa10bd53f56e11ce86d355a7d'
- Example response
HTTP/1.1 204 No Content
X-co-request-id: 4e4d794444393838666b714b53474a55