1
0
mirror of https://github.com/minio/docs.git synced 2025-04-25 17:22:39 +03:00
docs/source/reference/minio-mc-admin/mc-admin-policy-remove.rst
Ravind Kumar a6d554acdc
DOCS-807, DOCS-846, Misc. Bug fixes (#861)
Closes #807 
Closes #846 


---------

Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com>
2023-05-23 17:29:48 -04:00

1.6 KiB

mc admin policy rm

minio

Table of Contents

mc admin policy remove

mc admin policy rm

Syntax

Removes an IAM policy from the target MinIO deployment.

The mc admin policy remove command has equivalent functionality to mc admin policy rm.

EXAMPLE

The following command removes the policy names writeonly from the myminio MinIO deployment:

mc admin policy rm myminio writeonly

SYNTAX

The command has the following syntax:

mc admin policy rm TARGET POLICYNAME 

Parameters

The mc admin policy rm command accepts the following arguments:

TARGET

The alias <mc alias> of a configured MinIO deployment from which to remove the policy.

POLICYNAME

The name of the policy to remove.

Global Flags

Examples

Remove a policy called listbuckets.

mc admin policy rm myminio listbuckets