Enable users Generally available
POST /_security/user/{username}/_enable
Console
PUT _security/user/logstash_system/_enable resp = client.security.enable_user( username="logstash_system", ) const response = await client.security.enableUser({ username: "logstash_system", }); response = client.security.enable_user( username: "logstash_system" ) $resp = $client->security()->enableUser([ "username" => "logstash_system", ]); curl -X PUT -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_security/user/logstash_system/_enable" client.security().enableUser(e -> e .username("logstash_system") );