Managed Service for Elasticsearch API, gRPC: UserService.Get
Written by
Updated at October 17, 2024
Returns the specified Elasticsearch user.
To get the list of available Elasticsearch users, make a List request.
gRPC request
rpc Get (GetUserRequest) returns (User)
GetUserRequest
{
"clusterId": "string",
"userName": "string"
}
Field |
Description |
clusterId |
string Required field. ID of the Elasticsearch cluster the user belongs to. To get the cluster ID, make a ClusterService.List request. |
userName |
string Required field. Name of the Elasticsearch user to return. To get the name of the user, make a UserService.List request. |
User
{
"name": "string",
"clusterId": "string"
}
An Elasticsearch user.
Field |
Description |
name |
string Name of the Elasticsearch user. |
clusterId |
string ID of the Elasticsearch cluster the user belongs to. |