{
  "security.get_user": {
    "documentation": {
      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/8.19/security-api-get-user.html",
      "description": "Get users"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_security/user/{username}",
          "methods": [
            "GET"
          ],
          "parts": {
            "username": {
              "type": "list",
              "description": "A comma-separated list of usernames"
            }
          }
        },
        {
          "path": "/_security/user",
          "methods": [
            "GET"
          ]
        }
      ]
    },
    "params": {
      "with_profile_uid": {
        "type": "boolean",
        "default": false,
        "description": "flag to retrieve profile uid (if exists) associated to the user"
      }
    }
  }
}
