Deletes a historical version of a file. You cannot delete the latest version of a file.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /v2/file/revision/delete HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
body | object | No | The request parameters. | |
drive_id | string | Yes | The drive ID. | 1 |
file_id | string | Yes | The file ID. | 9520943DC264 |
revision_id | string | Yes | The version ID. | 40CB7794C929 |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.