Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/influxdb3/core/admin/tokens/admin/regenerate.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Regenerate an admin token

Check warning on line 2 in content/influxdb3/core/admin/tokens/admin/regenerate.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.WordList

Use 'administrator' instead of 'admin'.
description: >
Use the [`influxdb3 create token --admin` command](/influxdb3/core/reference/cli/influxdb3/create/token/)
or the HTTP API [`/api/v3/configure/token/admin/regenerate`](/influxdb3/core/api/authentication/#operation/PostRegenerateAdminToken) endpoint

Check warning on line 5 in content/influxdb3/core/admin/tokens/admin/regenerate.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.WordList

Use 'administrator' instead of 'admin'.
to regenerate an [operator token](/influxdb3/core/admin/tokens/admin/) for your {{< product-name omit="Clustered" >}} instance.
Regenerating an operator token deactivates the previous token.
menu:
Expand All @@ -19,11 +19,11 @@
#### HTTP API
```bash
curl -X POST "http://{{< influxdb/host >}}/api/v3/configure/token/admin/regenerate" \
--header 'Authorization Bearer OPERATOR_TOKEN' \
--header 'Authorization: Bearer OPERATOR_TOKEN' \
--header 'Accept: application/json'
--header 'Content-Type: application/json'
```
source: /shared/influxdb3-admin/tokens/admin/regenerate.md

Check warning on line 26 in content/influxdb3/core/admin/tokens/admin/regenerate.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.WordList

Use 'administrator' instead of 'admin'.
---

<!-- The content for this page is at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: Create an admin token

Check warning on line 2 in content/influxdb3/enterprise/admin/tokens/admin/create.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.WordList

Use 'administrator' instead of 'admin'.
description: >
Use the [`influxdb3 create token --admin` command](/influxdb3/enterprise/reference/cli/influxdb3/create/token/)
or the HTTP API [`/api/v3/configure/token/admin`](/influxdb3/enterprise/api/authentication/#operation/PostCreateAdminToken)

Check warning on line 5 in content/influxdb3/enterprise/admin/tokens/admin/create.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.WordList

Use 'administrator' instead of 'admin'.
endpoint to create an operator or named [admin token](/influxdb3/enterprise/admin/tokens/admin/) for your {{< product-name omit="Clustered" >}} instance.

Check warning on line 6 in content/influxdb3/enterprise/admin/tokens/admin/create.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.WordList

Use 'administrator' instead of 'admin'.
An admin token grants access to all actions on the server.
menu:
influxdb3_enterprise:
Expand All @@ -17,14 +17,14 @@
#### HTTP API
```bash
curl -X POST "http://{{< influxdb/host >}}/api/v3/configure/token/admin" \
--header 'Authorization Bearer ADMIN_TOKEN' \
--header 'Authorization: Bearer ADMIN_TOKEN' \
--json '{
"name": "TOKEN_NAME"
}'
```
alt_links:
cloud-dedicated: /influxdb3/cloud-dedicated/admin/tokens/create-token/
cloud-serverless: /influxdb3/cloud-serverless/admin/tokens/create-token/

Check warning on line 27 in content/influxdb3/enterprise/admin/tokens/admin/create.md

View workflow job for this annotation

GitHub Actions / Vale style check

InfluxDataDocs.WordList

Use 'administrator' instead of 'admin'.
source: /shared/influxdb3-admin/tokens/admin/create.md
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ list_code_example: |
#### HTTP API
```bash
curl -X POST "http://{{< influxdb/host >}}/api/v3/configure/token/admin/regenerate" \
--header 'Authorization Bearer OPERATOR_TOKEN'
--header 'Authorization: Bearer OPERATOR_TOKEN'
```
source: /shared/influxdb3-admin/tokens/admin/regenerate.md
---
Expand Down
2 changes: 1 addition & 1 deletion content/shared/influxdb3-admin/tokens/admin/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Use the following endpoint to create a named admin token:

```bash
curl -X POST "http://{{< influxdb/host >}}/api/v3/configure/token/admin" \
--header 'Authorization Bearer ADMIN_TOKEN' \
--header 'Authorization: Bearer ADMIN_TOKEN' \
--json '{
"name": "TOKEN_NAME"
}'
Expand Down
Loading