Managed Service for Elasticsearch API, gRPC: UserService.List
Retrieves the list of Elasticsearch users in the specified cluster.
gRPC request
rpc List (ListUsersRequest) returns (ListUsersResponse)
ListUsersRequest
{
"cluster_id": "string",
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
cluster_id |
string Required field. ID of the Elasticsearch cluster to list Elasticsearch users in. To get the cluster ID, use a ClusterService.List request. |
page_size |
int64 The maximum number of results per page to return. If the number of available results is larger than |
page_token |
string Page token. To get the next page of results, set |
ListUsersResponse
{
"users": [
{
"name": "string",
"cluster_id": "string"
}
],
"next_page_token": "string"
}
Field |
Description |
users[] |
List of Elasticsearch users. |
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results is larger than ListUsersRequest.page_size, use the |
User
An Elasticsearch user.
Field |
Description |
name |
string Name of the Elasticsearch user. |
cluster_id |
string ID of the Elasticsearch cluster the user belongs to. |