I know this is technically a duplicate of this discussion right here, but I'm not satisfied with the outcome of it.
I'm attempting to use Kibana's create/update role API to create a user role. I'm following the documentation here, but when I make this call I get a 404 not found error.
If I try this command with a role that already exists, such as 'kibana_user' I get that role's info, so I know that my user has the 'manage security' cluster privilege.
I've tried sending this request with '-X GET' as the user in the previously linked discussion did, but that didn't work.
I'm running out of ideas. Am I missing something here? I'm using Kibana 7.16.2 if that matters at all.
Welp, it seems I was able to fix this by creating a role with the same name through the Elasticsearch role API. This is probably why I was getting a 404, the role didn't exist on Elasticsearch.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.