diff --git a/client/rest-high-level/src/main/java/org/elasticsearch/client/security/PutUserResponse.java b/client/rest-high-level/src/main/java/org/elasticsearch/client/security/PutUserResponse.java index 73b57fb57ec..e97e4f01258 100644 --- a/client/rest-high-level/src/main/java/org/elasticsearch/client/security/PutUserResponse.java +++ b/client/rest-high-level/src/main/java/org/elasticsearch/client/security/PutUserResponse.java @@ -62,7 +62,6 @@ public final class PutUserResponse { static { PARSER.declareBoolean(constructorArg(), new ParseField("created")); - PARSER.declareObject((a,b) -> {}, (parser, context) -> null, new ParseField("user")); // ignore the user field! } public static PutUserResponse fromXContent(XContentParser parser) throws IOException {