Managed Service for Elasticsearch API, REST: User.list
Retrieves the list of Elasticsearch users in the specified cluster.
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-elasticsearch/v1/clusters/{clusterId}/users
Path parameters
Parameter | Description |
---|---|
clusterId | Required. ID of the Elasticsearch cluster to list Elasticsearch users in. To get the cluster ID, use a list request. The maximum string length in characters is 50. |
Query parameters
Parameter | Description |
---|---|
pageSize | The maximum number of results per page to return. If the number of available results is larger than The maximum value is 1000. |
pageToken | Page token. To get the next page of results, set The maximum string length in characters is 100. |
Response
HTTP Code: 200 - OK
{
"users": [
{
"name": "string",
"clusterId": "string"
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
users[] | object List of Elasticsearch users. |
users[]. name |
string Name of the Elasticsearch user. |
users[]. clusterId |
string ID of the Elasticsearch cluster the user belongs to. |
nextPageToken | string This token allows you to get the next page of results for list requests. If the number of results is larger than pageSize, use the |