Get Configuration API

In the documentation to get the configuration through, the API:
https://opendistro.github.io/for-elasticsearch-docs/docs/security-access-control/api/#get-configuration

when i curl the command on the server:
https://severname:9200/_opendistro/_security/api/config
The following error is returned:
{“error”:“no handler found for uri [/_opendistro/_security/api/config] and method [GET]”}

The other APIs work, it’s just the api/config I am having issues with.

Does anyone know how to resolve the “no handler found for uri" error when using the API for the Open Distro security plugin?

Hello @kzcpp0

Did you resolve the issue? Did you configure the below options as per documentation?

opendistro_security.restapi.roles_enabled: [“<role>”, …]

and

opendistro_security.restapi.endpoints_disabled.<role>.: [“<method>”, …]