Get roles for an Elasticsearch project
Retrieve the custom roles defined for an Elasticsearch project.
Path parameters
-
id
string Required The ID of the project
Format should match the following pattern:
^[a-z0-9]{32}$
.
GET
/api/v1/serverless/projects/elasticsearch/{id}/roles
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/serverless/projects/elasticsearch/{id}/roles' \
--header "Authorization: $API_KEY"