mc admin policy rm
Removes an IAM policy from the target MinIO AIStor deployment.
Syntax
The following command removes the policy readonly from the deployment at alias myaistor.
mc admin policy rm myaistor readonlyThe command has the following syntax:
mc admin policy rm \
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.
Parameters
The mc admin policy rm command accepts the following arguments:
TARGET
Required
The alias of a configured MinIO AIStor deployment.
POLICYNAME
Required
The name of the policy to remove.
Global Flags
This command supports any of the global flags.
Examples
Remove the policy managers from the deployment at alias myaistor.
mc admin policy rm myaistor managers