Drive > Files > File/Directory

Unlock

Unlocked File/Directory by path and token in the specified file

delete/3/drive/{drive_id}/files/{file_id}/lock

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/3/drive/{drive_id}/files/{file_id}/lock
  • Auth
    HTTP bearer

Path parameters

drive_idinteger required

Drive identifier

file_idinteger required

File identifier

Query parameters

pathstring required

File's path to unlock

tokenstring required

The lock token, provided when the file is locked

Example:x-token

Response

OK

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

Result of the HTTP request

databoolean

Example response

{
  "result": "success"
}

Changes

No recorded changes to this operation across all 40 revisions of this API.