The password for authentication if you’ve enabled authentication. The user must have write access to the database.

The password is optional if you haven't enabled authentication for your influxdb server.