InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client-apis > UsersAPI > getUsers
List users. See https://docs.influxdata.com/influxdb/v2.4/api/#operation/GetUsers
Signature:
getUsers(request?: GetUsersRequest, requestOptions?: RequestOptions): Promise<Users>;
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