influxdb-client-js

InfluxDB 2.0 JavaScript client

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

Home > @influxdata/influxdb-client-apis > OrgsAPI > postOrgs

OrgsAPI.postOrgs() method

Create an organization. See https://docs.influxdata.com/influxdb/v2.4/api/#operation/PostOrgs

Signature:

postOrgs(request: PostOrgsRequest, requestOptions?: RequestOptions): Promise<Organization>;

Parameters

Parameter Type Description
request PostOrgsRequest request parameters and body (if supported)
requestOptions RequestOptions (Optional) optional transport options

Returns:

Promise<Organization>

promise of response