users

Returns a User based on the specified User ID

You need tenants.user.get permission to access this resource

get/users/{user_id}

Request

  • Base URL: https://api.elastic.io/v2
  • URL: https://api.elastic.io/v2/users/{user_id}
  • Auth: HTTP basic

Path parameters

user_idstring required

User identifier

Response

OK

Example response

{
  "data": {
    "id": "5b4f337bff4304610483ba67",
    "links": {
      "self": "/v2/users/5b4f337bff4304610483ba67"
    },
    "attributes": {
      "first_name": "John",
      "last_name": "Doe",
      "email": "test@example.com",
      "company": "My Company",
      "registered": "2017-10-02T12:18:06.274Z",
      "last_login": "2018-03-15T16:53:57.696Z"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.