hmc_remove_ldap_config
Delete a specified LDAP configuration element from the HMC server, including backup LDAP server, bind DN, bind password, search filter, HMC groups, or group-member attributes. Provides immediate confirmation.
Instructions
Remove a component of the HMC LDAP server configuration.
resource selects what to remove. Valid values: 'backup' — remove the backup LDAP server 'ldap' — remove the entire LDAP configuration 'binddn' — remove the bind DN 'bindpw' — remove the bind password 'searchfilter' — remove the custom search filter 'hmcgroups' — remove HMC group mappings 'groupmemberattributes' — remove group-member attribute settings
Equivalent to Ansible hmc_user action=remove_ldap_config.
Use hmc_get_ldap_config to inspect the current state before calling.
Returns a confirmation string (immediate delete — no job to poll).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |