Drive > Files > File/Directory > Version

Update current

Update current file version

put/2/drive/{drive_id}/files/{file_id}/versions/current

Path parameters

drive_idinteger required

Drive identifier

file_idinteger required

File identifier

Request body

keep_foreverboolean required

Indicate whether the current version should be kept forever

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

databoolean

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.