diff --git a/content/v2.0/organizations/view-orgs.md b/content/v2.0/organizations/view-orgs.md index 1739b8ade..0a304072b 100644 --- a/content/v2.0/organizations/view-orgs.md +++ b/content/v2.0/organizations/view-orgs.md @@ -39,24 +39,10 @@ Use the InfluxDB UI or `influx` CLI to view your organization ID. ### Organization ID in the UI After logging in to the InfluxDB UI, your organization ID appears in the URL. -{{< code-tabs-wrapper >}} -{{% code-tabs %}} -[InfluxDB Cloud](#) -[InfluxDB OSS](#) -{{% /code-tabs %}} -{{< code-tab-content >}} -
-https://us-west-2-1.aws.cloud2.influxdata.com/orgs/03a2bbf46249a000/...
-
-{{< /code-tab-content >}} -{{< code-tab-content >}} +
 http://localhost:9999/orgs/03a2bbf46249a000/...
 
-{{< /code-tab-content >}} -{{< /code-tabs-wrapper >}} - -_For specific InfluxDB Cloud provider and region URLs, see [InfluxDB Cloud URLs](/v2.0/cloud/urls/)._ ### Organization ID in the CLI diff --git a/content/v2.0/reference/api/_index.md b/content/v2.0/reference/api/_index.md index c9d09cbac..e34402f98 100644 --- a/content/v2.0/reference/api/_index.md +++ b/content/v2.0/reference/api/_index.md @@ -15,27 +15,11 @@ Access the InfluxDB API using the `/api/v2/` endpoint. InfluxDB uses [authentication tokens](/v2.0/security/tokens/) to authorize API requests. Include your authentication token as an `Authorization` header in each request. -{{< code-tabs-wrapper >}} -{{% code-tabs %}} -[InfluxDB OSS](#) -[InfluxDB Cloud](#) -{{% /code-tabs %}} -{{% code-tab-content %}} ```sh curl --request POST \ --url http://localhost:9999/api/v2/write?org=my-org&bucket=example-bucket \ --header 'Authorization: Token YOURAUTHTOKEN' ``` -{{% /code-tab-content %}} -{{% code-tab-content %}} -```sh -# Use the hostname of your InfluxDB Cloud UI -curl --request POST \ - --url https://us-west-2-1.aws.cloud2.influxdata.com/api/v2/write?org=my-org&bucket=example-bucket \ - --header 'Authorization: Token YOURAUTHTOKEN' -``` -{{% /code-tab-content %}} -{{< /code-tabs-wrapper >}} ## View InfluxDB v2 API Documentation InfluxDB v2.0 API documentation diff --git a/content/v2.0/write-data/_index.md b/content/v2.0/write-data/_index.md index c5623e307..cd27f69d0 100644 --- a/content/v2.0/write-data/_index.md +++ b/content/v2.0/write-data/_index.md @@ -197,31 +197,12 @@ Include the following in your request: Below is an example API write request using `curl`. The URL depends on the version and location of your InfluxDB 2.0 instance. -{{< tabs-wrapper >}} -{{% tabs %}} -[InfluxDB OSS](#) -[{{< cloud-name "short">}}](#) -{{% /tabs %}} -{{% tab-content %}} + ```sh curl -XPOST "http://localhost:9999/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET&precision=s" \ --header "Authorization: Token YOURAUTHTOKEN" \ --data-raw "mem,host=host1 used_percent=23.43234543 1556896326" ``` -{{% /tab-content %}} -{{% tab-content %}} - -{{% cloud %}} -For the specific URL of your {{< cloud-name "short" >}} instance, see [InfluxDB Cloud URLs](/v2.0/cloud/urls/). -{{% /cloud %}} - -```sh -curl -XPOST "YOUR-INFLUXDB-CLOUD-URL/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET&precision=s" \ - --header "Authorization: Token YOURAUTHTOKEN" \ - --data-raw "mem,host=host1 used_percent=23.43234543 1556896326" -``` -{{% /tab-content %}} -{{< /tabs-wrapper >}} ### Others