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. |