Link Search Menu Expand Document Documentation Menu

Role APIs

The role APIs create, retrieve, modify, and delete the roles that define cluster, index, and document permissions.

OpenSearch supports the following role APIs.

API Description
Create or Update Role API Creates or replaces the specified role.
Patch Roles API Updates individual attributes of one role, or creates, updates, or deletes multiple roles in a single call.
Get Roles API Retrieves one role or all roles.
Delete Role API Deletes the specified role.
350 characters left

Have a question? .

Want to contribute? or .