Managed Service for Elasticsearch API, REST: User.get
Статья создана
Обновлена 26 мая 2023 г.
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
Parameter | Description |
---|---|
clusterId | Required. ID of the Elasticsearch cluster the user belongs to. To get the cluster ID, make a list request. The maximum string length in characters is 50. |
userName | Required. Name of the Elasticsearch user to return. To get the name of the user, make a list request. The maximum string length in characters is 63. Value must match the regular expression |
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. |