mc admin policy remove
Table of Contents
Syntax
Removes an IAM policy from the target MinIO deployment.
The following command removes the policy names writeonly
from the myminio
MinIO deployment:
mc admin policy remove myminio writeonly
The command has the following syntax:
mc admin policy remove TARGET POLICYNAME
Brackets
[]
indicate optional parameters.Parameters sharing a line are mutually dependent.
Parameters separated using the pipe
|
operator are mutually exclusive.
Copy the example to a text editor and modify as-needed before running the
command in the terminal/shell.
You may need to use sudo
if your user does not have write permissions for the path where mc
is installed.
Parameters
The mc admin policy create
command accepts the following arguments:
- TARGET
The
alias
of a configured MinIO deployment from which to remove the policy.
Global Flags
This command supports any of the global flags.
Examples
Remove a policy called listbuckets
.
mc admin policy remove myminio listbuckets