influxdb-client-js

InfluxDB 2.0 JavaScript client

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

Home > @influxdata/influxdb-client-apis > BucketsAPI > postBucketsIDOwners

BucketsAPI.postBucketsIDOwners() method

Add an owner to a bucket. See https://docs.influxdata.com/influxdb/v2.4/api/#operation/PostBucketsIDOwners

Signature:

postBucketsIDOwners(request: PostBucketsIDOwnersRequest, requestOptions?: RequestOptions): Promise<ResourceOwner>;

Parameters

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

Returns:

Promise<ResourceOwner>

promise of response