Managed Service for Elasticsearch API, REST: User.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.
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-elasticsearch/v1/clusters/{clusterId}/users/{userName}
Path parameters
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. |
Response
HTTP Code: 200 - OK
{
"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. |