Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Solutions
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Managed Service for Elasticsearch
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Information about existing clusters
    • Creating clusters
    • Connecting to clusters
    • Stopping and starting clusters
    • Changing cluster settings
    • Managing Elasticsearch hosts
    • Managing Elasticsearch users
    • Deleting a cluster
  • Concepts
    • Relationship between service resources
    • Host roles
    • Elasticsearch editions
    • Indexes
    • Search using Elasticsearch
    • Host classes
    • Managed Service for Elasticsearch
    • Quotas and limits
    • Storage types
    • Sharding and replication
    • Elasticsearch plugins
  • Access management
  • Pricing policy
  • API reference
    • API authentication
    • gRPC
      • Overview
      • ClusterService
      • ResourcePresetService
      • UserService
      • OperationService
    • REST
      • Overview
      • Cluster
        • Overview
        • addHosts
        • create
        • delete
        • deleteHosts
        • get
        • list
        • listHosts
        • listLogs
        • listOperations
        • move
        • start
        • stop
        • streamLogs
        • update
      • ResourcePreset
        • Overview
        • get
        • list
      • User
        • Overview
        • create
        • delete
        • get
        • list
        • update
      • Operation
        • Overview
        • get
  • Questions and answers
  1. API reference
  2. REST
  3. User
  4. get

Method get

  • HTTP request
  • Path parameters
  • Response

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 [a-zA-Z0-9_]*.

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.

In this article:
  • HTTP request
  • Path parameters
  • Response
Language / Region
Careers
Privacy policy
Terms of use
Brandbook
© 2021 Yandex.Cloud LLC