You're viewing version 3.8 of the OpenSearch documentation. This version is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.
Role mapping APIs
The role mapping APIs map users, backend roles, and hosts to security roles.
OpenSearch supports the following role mapping APIs.
| API | Description |
|---|---|
| Create or Update Role Mapping API | Creates or replaces the specified role mapping. |
| Patch Role Mappings API | Updates individual attributes of one role mapping, or creates, updates, or deletes multiple role mappings in a single call. |
| Get Role Mappings API | Retrieves the mapping for one role or all role mappings. |
| Delete Role Mapping API | Deletes the specified role mapping. |