Type to search.

Get roles for an Elasticsearch project

Base URL
https://api.elastic-cloud.com
  • GET /api/v1/serverless/projects/elasticsearch/{id}/roles
Auth

Retrieve the custom roles defined for an Elasticsearch project.

Path parameters

id string · pattern: ^[a-z0-9]{32}$ required

The ID of the project

Responses

The requested roles

application/json

Response headers

ETag string