Skip to content

Lock File

Files can be locked to prevent another user from editing a files while it is being worked on. When a file is locked, other actors will be prevented from deleting or creating a new version of a file. Other actions such as modifying metadata or moving the file are allowed on locked files.

Only regular files can be locked. Support Files and Folders cannot be locked.

POST {baseUrl}/spaces/{spaceId}/files/{fileId}/lock?complete=true
  • HEADER:

    • Authorization: Bearer {tid token}
  • BODY:

    • reason - Reason to lock the file (optional)

To know more about the lock file API refer here.