mc idp ldap rm

The mc idp ldap rm command removes an AD/LDAP IDP server configuration from a MinIO AIStor deployment.

Syntax

The following example removes the default AD/LDAP configuration for the myaistor deployment.

mc idp ldap rm myaistor

The following example removes a named LDAP configuration called partner:

mc idp ldap rm myaistor partner

The command has the following syntax:

mc [GLOBALFLAGS] idp ldap rm ALIAS [NAME]
  • Replace ALIAS with the alias of a MinIO AIStor deployment.
  • Replace NAME with the optional name of the LDAP configuration to remove. If omitted, removes the default configuration of _.
  • 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

ALIAS

Required

The alias of the MinIO AIStor deployment from which to remove the AD/LDAP configuration.

NAME

Optional

The name of the LDAP configuration to remove. If omitted, the command removes the default configuration of _.

For example:

mc idp ldap rm myaistor partner

The change takes effect after you restart the deployment:

mc admin service restart myaistor

Global flags

This command supports any of the global flags.

Behavior

S3 compatibility

This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.

On this page