Folder locks define access restrictions placed by folder owners to prevent specific folders from being moved or deleted.
12345678The unique identifier for this folder lock.
folder_lockThe object type, always folder_lock.
2020-09-14T23:12:53ZWhen the folder lock object was created.
The user or group that created the lock.
The folder that the lock applies to.
freezeThe lock type, always freeze.
The operations that have been locked. Currently the move
and delete operations cannot be locked separately, and both need to be
set to true.
trueWhether deleting the folder is restricted.
trueWhether moving the folder is restricted.
{
"id": "12345678",
"type": "folder_lock",
"created_at": "2020-09-14T23:12:53Z",
"created_by": {
"id": "11446498",
"type": "user"
},
"folder": {
"id": "12345",
"type": "folder",
"etag": "1",
"name": "Contracts",
"sequence_id": "3"
},
"lock_type": "freeze",
"locked_operations": {
"delete": true,
"move": true
}
}