I'm having trouble using the API examples for ECE when viewing/creating roles found in this link https://www.elastic.co/guide/en/elasticsearch/reference/7.5/security-api-get-role.html
To display all roles this should be all I need to use according to the last example in the link above, but the error below is all I can get to return.
curl -X GET "http://127.0.0.1:9200/_security/role"
{"ok":false,"message":"Unknown deployment."}
I've tried experimenting putting the endpoint in the command in different places with no luck.
ECE 2.4.3
Elasticsearch: 7.5.0