Creates a folder lock on a folder, preventing it from being moved and/or deleted.
You must be authenticated as the owner or co-owner of the folder to use this endpoint.
The access token received from the authorization server in the OAuth 2.0 flow.
Returns the instance of the folder lock that was applied to the folder, including the user that applied the lock and the operations set.
Folder locks define access restrictions placed by folder owners to prevent specific folders from being moved or deleted.
The folder that the lock applies to.
The unique identifier for this folder lock.
"12345678"
The object type, always folder_lock.
"folder_lock"
The user or group that created the lock.
When the folder lock object was created.
"2020-09-14T23:12:53Z"
The operations that have been locked. Currently the move
and delete operations cannot be locked separately, and both need to be
set to true.
The lock type, always freeze.
"freeze"