{
  "security.query_user": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-query-user",
      "description": "Find users with a query"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ],
      "content_type": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_security/_query/user",
          "methods": [
            "GET",
            "POST"
          ]
        }
      ]
    },
    "body": {
      "description": "From, size, query, sort and search_after",
      "required": false
    },
    "params": {
      "with_profile_uid": {
        "type": "boolean",
        "default": false,
        "description": "flag to retrieve profile uid (if exists) associated with the user"
      }
    }
  }
}
