mc admin object unlock
The mc admin object unlock command summarizes the active and stale locks on an object, and releases them.
Syntax
The command has the following syntax:
mc admin object unlock [FLAGS] TARGET
Flags
| Flag | Description |
|---|---|
--force |
Force unlock the lock on the server. |
Global flags
This command supports any of the global flags.
Examples
Unlock a stale lock on the object.
mc admin object unlock myminio/bucket/object
Behavior
S3 compatibility
This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.