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 myaistorThe following example removes a named LDAP configuration called partner:
mc idp ldap rm myaistor partnerThe command has the following syntax:
mc [GLOBALFLAGS] idp ldap rm ALIAS [NAME]- Replace
ALIASwith the alias of a MinIO AIStor deployment. - Replace
NAMEwith 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 partnerThe change takes effect after you restart the deployment:
mc admin service restart myaistorGlobal 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.