InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client-apis > SetupAPI > getSetup
Check if database has default user, org, bucket. See https://docs.influxdata.com/influxdb/v2.4/api/#operation/GetSetup
Signature:
getSetup(request?: GetSetupRequest, requestOptions?: RequestOptions): Promise<IsOnboarding>;
Parameter | Type | Description |
---|---|---|
request | [GetSetupRequest](/influxdb-client-js/influxdb-client-apis.getsetuprequest.html) | _(Optional)_ request parameters and body (if supported) |
requestOptions | [RequestOptions](/influxdb-client-js/influxdb-client-apis.requestoptions.html) | _(Optional)_ optional transport options |
Returns:
Promise<IsOnboarding>
promise of response