Delete role mappings
- DELETE /_security/role_mapping/{name}
Role mappings define which roles are assigned to each user. The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The delete role mappings API cannot remove role mappings that are defined in role mapping files.
Read the reference documentationRequired authorization
- Cluster privileges manage_security