The username for authentication if you’ve enabled authentication. The user must have write access to the database.
The username is optional if you haven't enabled authentication for your influxdb server.