Unlocking a Mount Target
Unlock a locked File Storage mount target to allow deletions (in the case of a delete lock) or updates, moves, and deletions (in the case of a full lock).
You can also override mount target locks.
Required IAM Policy
To remove locks, in addition to permissions to manage the mount target, you need permissions to manage locks.
To unlock a mount target, you must have RESOURCE_LOCK_REMOVE
permissions.
- On the Mount Targets list page, select the mount target that you want to work with. If you need help finding the list page or the mount target, see Listing Mount Targets.
- On the details page, next to Resource Locking, select Remove.
Use the
oci fs mount-target remove
command and required parameters to unlock a mount target:oci fs mount-target remove --mount-target-id <mount_target_OCID> --type <lock_type>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the RemoveMountTargetLock operation to unlock a mount target.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.