Hi All,
We are trying to create user-role mapping using the open-distro api's.
PATCH _opendistro/_security/api/rolesmapping/<role>
[
{
"op": "add", "path": "/users", "value": ["myuser"]
}
]
But we are getting the below error while trying to execute this command,
{"statusCode":400,"error":"Bad Request","message":"[request query.method]: Method must be one of, case insensitive ['HEAD', 'GET', 'POST', 'PUT', 'DELETE']. Received 'PATCH'."}
Can you please advise.
Regards
Lokesh V