This command is not available with this tool which prevents it being used for this purpose.
# opensearch-cli curl
Use the curl command to execute any REST API calls against the cluster.
Usage:
opensearch-cli curl [command]
Available Commands:
delete Delete command to execute requests against cluster
get Get command to execute requests against cluster
post Post command to execute requests against cluster
put Put command to execute requests against cluster
The OpenSearch specification allows for the use of patch and is required for updating role mappings.
An example of the usage can be seen here: https://opensearch.org/docs/latest/security-plugin/access-control/api/#patch-role-mappings
This command is not available with this tool which prevents it being used for this purpose.
This command should be added.