InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client-apis > UsersAPI
Users API
Signature:
declare class UsersAPI
Constructor | Modifiers | Description |
---|---|---|
[(constructor)(influxDB)](/influxdb-client-js/influxdb-client-apis.usersapi._constructor_.html) | Creates UsersAPI |
Method | Modifiers | Description |
---|---|---|
[deleteUsersID(request, requestOptions)](/influxdb-client-js/influxdb-client-apis.usersapi.deleteusersid.html) | Delete a user. See [https://docs.influxdata.com/influxdb/v2.4/api/\#operation/DeleteUsersID](https://docs.influxdata.com/influxdb/v2.4/api/#operation/DeleteUsersID) | |
[getUsers(request, requestOptions)](/influxdb-client-js/influxdb-client-apis.usersapi.getusers.html) | List users. See [https://docs.influxdata.com/influxdb/v2.4/api/\#operation/GetUsers](https://docs.influxdata.com/influxdb/v2.4/api/#operation/GetUsers) | |
[getUsersID(request, requestOptions)](/influxdb-client-js/influxdb-client-apis.usersapi.getusersid.html) | Retrieve a user. See [https://docs.influxdata.com/influxdb/v2.4/api/\#operation/GetUsersID](https://docs.influxdata.com/influxdb/v2.4/api/#operation/GetUsersID) | |
[patchUsersID(request, requestOptions)](/influxdb-client-js/influxdb-client-apis.usersapi.patchusersid.html) | Update a user. See [https://docs.influxdata.com/influxdb/v2.4/api/\#operation/PatchUsersID](https://docs.influxdata.com/influxdb/v2.4/api/#operation/PatchUsersID) | |
[postUsers(request, requestOptions)](/influxdb-client-js/influxdb-client-apis.usersapi.postusers.html) | Create a user. See [https://docs.influxdata.com/influxdb/v2.4/api/\#operation/PostUsers](https://docs.influxdata.com/influxdb/v2.4/api/#operation/PostUsers) | |
[postUsersIDPassword(request, requestOptions)](/influxdb-client-js/influxdb-client-apis.usersapi.postusersidpassword.html) | Update a password. See [https://docs.influxdata.com/influxdb/v2.4/api/\#operation/PostUsersIDPassword](https://docs.influxdata.com/influxdb/v2.4/api/#operation/PostUsersIDPassword) |