# mc idp ldap rm

LLMS index: [llms.txt](/llms.txt)

---

<a id="mc-idp-ldap-rm"></a>
<a id="minio-mc-idp-ldap-rm"></a>

<a id="command-mc.idp.ldap.rm"></a>

<a id="command-mc.idp.ldap.remove"></a>

## Description {#description}

The [`mc idp ldap rm`](#command-mc.idp.ldap.rm) command removes the existing configuration for an AD/LDAP provider.

[`mc idp ldap rm`](#command-mc.idp.ldap.rm) is also known as [`mc idp ldap remove`](#command-mc.idp.ldap.remove).

**EXAMPLE**

The following example removes the AD/LDAP provider settings for the `myminio` deployment.

```shell
mc idp ldap rm       \
            myminio
```

**SYNTAX**

The command has the following syntax:

```shell
mc [GLOBALFLAGS] idp ldap rm     \
                          ALIAS
```

- Replace `ALIAS` with the [alias](/reference/minio-mc/mc-alias-set/#alias) of a MinIO deployment to remove the AD/LDAP integration.

- 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 {#parameters}

##### `ALIAS` {#mc.idp.ldap.remove.ALIAS}

*mc-cmd*

*Required*

The [alias](/reference/minio-mc/mc-alias-set/#alias) of the MinIO deployment for which to remove the current AD/LDAP configuration.

For example:

```text
mc idp ldap rm myminio
```

### Global Flags {#global-flags}

This command supports any of the [global flags](/reference/minio-mc/#minio-mc-global-options).

## Behavior {#behavior}

### S3 Compatibility {#s3-compatibility}

The **`mc`** commandline tool is built for compatibility with the AWS S3 API and is tested with MinIO and AWS S3 for expected functionality and behavior.

MinIO provides no guarantees for other S3-compatible services, as their S3 API implementation is unknown and therefore unsupported. While **`mc`** commands *may* work as documented, any such usage is at your own risk.
