All Products
Search
Document Center

Drive and Photo Service:DeleteRevision

Last Updated:May 27, 2026

Deletes a historical revision. You cannot delete the latest revision.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /v2/file/revision/delete HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

domain_id

string

Yes

A short description of struct

body

object

No

Request body parameters.

drive_id

string

Yes

Drive ID

1

file_id

string

Yes

File ID

9520943DC264

revision_id

string

Yes

Revision ID

40CB7794C929

Response elements

Element

Type

Description

Example

None defined.

Examples

Success response

JSON format

{}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.