influxdb-client-js

InfluxDB 2.0 JavaScript client

View the Project on GitHub influxdata/influxdb-client-js

Home > @influxdata/influxdb-client-apis > UsersAPI > getUsers

UsersAPI.getUsers() method

List users. See https://docs.influxdata.com/influxdb/v2.4/api/#operation/GetUsers

Signature:

getUsers(request?: GetUsersRequest, requestOptions?: RequestOptions): Promise<Users>;

Parameters

Parameter Type Description
request [GetUsersRequest](/influxdb-client-js/influxdb-client-apis.getusersrequest.html) _(Optional)_ request parameters and body (if supported)
requestOptions [RequestOptions](/influxdb-client-js/influxdb-client-apis.requestoptions.html) _(Optional)_ optional transport options

Returns:

Promise<Users>

promise of response