-
Notifications
You must be signed in to change notification settings - Fork 302
Adding adequate CLI examples for creating triggers #6002
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MeelahMe
merged 79 commits into
master
from
5949-add-api-reference-examples-to-influxdb3
May 19, 2025
Merged
Changes from all commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
e481e68
updating database create for consistency
MeelahMe 0c85184
Adding distinct cache value example
MeelahMe 4746e6e
Adding a create last value cache example
MeelahMe 22c9fc4
Adding a create plugin example
MeelahMe 4f11fc1
adding a creating token example
MeelahMe 4199554
Update content/shared/influxdb3-cli/create/token.md
MeelahMe d72eccd
Update content/shared/influxdb3-cli/create/token.md
MeelahMe 7d6d7f1
Merge branch 'master' into 5949-add-api-reference-examples-to-influxdb3
MeelahMe 07aded0
Remove plugin.md from create CLI commands
MeelahMe 481575e
Remove plugin.md from delete CLI commands
MeelahMe 98d8d6e
chore(cli): remove plugin.md files and references from create/delete …
MeelahMe dfd1a9c
chore(cli): remove create plugin.md from enterprise CLI reference
MeelahMe b16ea65
chore(cli): remove delete plugin.md from enterprise CLI reference
MeelahMe 958e0a8
docs: revise create trigger examples for clarity and accuracy
MeelahMe 289c24e
docs(cli): fix last_cache example flags and clarify placeholder keys
MeelahMe 81d8863
docs(cli): correcting trigger disable example
MeelahMe 1569829
Update content/shared/influxdb3-cli/create/distinct_cache.md
MeelahMe 87cb056
docs(cli): updated and add tested examples and setup guidance for cr…
MeelahMe 88ec6af
docs(cli): update table guide with query verification example
MeelahMe 85310e1
docs: add examples and clarify usage for token, distinct_cache, and l…
MeelahMe b3be9de
docs(cli): minor updates to examples
MeelahMe f592009
Update content/shared/influxdb3-cli/create/distinct_cache.md
MeelahMe e659a0b
Update content/shared/influxdb3-cli/create/distinct_cache.md
MeelahMe b71dd9a
chore(cli): remove deprecated delete plugin reference
MeelahMe 46a4d35
Merge branch '5949-add-api-reference-examples-to-influxdb3' of github…
MeelahMe e9bcb06
Update content/shared/influxdb3-cli/create/last_cache.md
MeelahMe dedf9ca
chore(cli): removing numbered list
MeelahMe eecde07
Merge branch '5949-add-api-reference-examples-to-influxdb3' of github…
MeelahMe 38a9aaf
Merge branch 'master' into 5949-add-api-reference-examples-to-influxdb3
MeelahMe 0f853d0
Merge branch 'master' into 5949-add-api-reference-examples-to-influxdb3
MeelahMe 5ee9686
Merge branch 'master' into 5949-add-api-reference-examples-to-influxdb3
MeelahMe 8988fb6
Merge branch 'master' into 5949-add-api-reference-examples-to-influxdb3
MeelahMe 07c8b95
Merge branch 'master' into 5949-add-api-reference-examples-to-influxdb3
MeelahMe 386cfc2
docs(cli): improve create database docs for clarity and style to data…
MeelahMe 8f8bf55
Merge branch '5949-add-api-reference-examples-to-influxdb3' of github…
MeelahMe e6d8838
docs(cli): improve distinct_cache example section and placeholder gui…
MeelahMe 994e848
WIP: update format
MeelahMe 663cfc9
Merge branch 'master' into 5949-add-api-reference-examples-to-influxdb3
MeelahMe 0cbfade
revising structure
MeelahMe 5a843f5
docs(cli): improve distinct_cache structure
MeelahMe 18a4413
docs(cli): add editable placeholders for database, table, and token i…
MeelahMe 94b4228
Merge branch 'master' into 5949-add-api-reference-examples-to-influxdb3
MeelahMe 0f8945f
Merge branch 'master' into 5949-add-api-reference-examples-to-influxdb3
MeelahMe 8847d67
Update database.md
MeelahMe 02c3a8b
Update revoke 2.md
MeelahMe b460338
Update database.md
MeelahMe 21588fe
Update database.md
MeelahMe 3edf4e7
Update database.md
MeelahMe 9834fab
Update distinct_cache.md
MeelahMe dd8369b
Update last_cache.md
MeelahMe df24a22
Update last_cache.md
MeelahMe 2ae9d67
Update table.md
MeelahMe af99904
Update table.md
MeelahMe 2c3b3f8
Update table.md
MeelahMe 7a39062
Update table.md
MeelahMe 3a39a92
Update token.md
MeelahMe ef239ef
Update token.md
MeelahMe a2145f0
Update trigger.md
MeelahMe cf87936
Update trigger.md
MeelahMe 6917097
Update trigger.md
MeelahMe 7f1a3b6
Update trigger.md
MeelahMe ed3aa1f
Update content/shared/influxdb3-cli/create/token.md
MeelahMe d8e043e
Clarify table creation behavior in CLI docs; add note about automatic…
MeelahMe fa8e611
Fix pytest.mark.skip rendering issue in SHOW TABLES example output block
MeelahMe c60766b
updating verification example to be more precise
MeelahMe 83d800b
minor update to table.md
MeelahMe 74039f1
resolving lint check warning
MeelahMe b3b087b
Clarify token usage instructions and reinforce one-time visibility
MeelahMe e056433
Update content/shared/influxdb3-cli/create/distinct_cache.md
MeelahMe 138deca
Update content/shared/influxdb3-cli/create/distinct_cache.md
MeelahMe d16c226
Update content/shared/influxdb3-cli/create/distinct_cache.md
MeelahMe 9adda3e
Update content/shared/influxdb3-cli/create/distinct_cache.md
MeelahMe 185c2fa
Update content/shared/influxdb3-cli/create/distinct_cache.md
MeelahMe 02035d2
Update content/shared/influxdb3-cli/create/table.md
MeelahMe f245785
Update content/shared/influxdb3-cli/create/table.md
MeelahMe 2540cee
Update content/shared/influxdb3-cli/create/token.md
MeelahMe adb3264
Update content/shared/influxdb3-cli/create/token.md
MeelahMe 59dca83
Update content/shared/influxdb3-cli/create/token.md
MeelahMe 9da9b85
Apply suggestions from code review
jstirnaman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
content/influxdb3/clustered/admin/tokens/database/revoke 2.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
title: Revoke a database token | ||
description: > | ||
Use the [`influxctl token revoke` command](/influxdb3/clustered/reference/cli/influxctl/token/revoke/) | ||
to revoke a token from your InfluxDB cluster and disable all | ||
permissions associated with the token. | ||
Provide the ID of the token you want to revoke. | ||
menu: | ||
influxdb3_clustered: | ||
parent: Database tokens | ||
weight: 203 | ||
list_code_example: | | ||
```sh | ||
influxctl token revoke <TOKEN_ID> | ||
``` | ||
aliases: | ||
- /influxdb3/clustered/admin/tokens/delete/ | ||
- /influxdb3/clustered/admin/tokens/database/delete/ | ||
--- | ||
|
||
Use the [`influxctl token revoke` command](/influxdb3/clustered/reference/cli/influxctl/token/revoke/) | ||
to revoke a database token from your {{< product-name omit=" Clustered" >}} cluster and disable | ||
all permissions associated with the token. | ||
|
||
1. If you haven't already, [download and install the `influxctl` CLI](/influxdb3/clustered/reference/cli/influxctl/#download-and-install-influxctl). | ||
2. Run the [`influxctl token list` command](/influxdb3/clustered/reference/cli/influxctl/token/list) | ||
to output tokens with their IDs. | ||
Copy the **token ID** of the token you want to delete. | ||
|
||
```sh | ||
influxctl token list | ||
``` | ||
|
||
3. Run the `influxctl token revoke` command and provide the following: | ||
|
||
- Token ID to revoke | ||
|
||
4. Confirm that you want to revoke the token. | ||
|
||
{{% code-placeholders "TOKEN_ID" %}} | ||
```sh | ||
influxctl token revoke TOKEN_ID | ||
``` | ||
{{% /code-placeholders %}} | ||
|
||
> [!Warning] | ||
> #### Revoking a token is immediate and cannot be undone | ||
> | ||
> Revoking a database token is a destructive action that takes place immediately | ||
> and cannot be undone. | ||
> | ||
> #### Rotate revoked tokens | ||
> | ||
> After revoking a database token, any clients using the revoked token need to | ||
> be updated with a new database token to continue to interact with your | ||
> {{% product-name omit=" Clustered" %}} cluster. |
15 changes: 0 additions & 15 deletions
15
content/influxdb3/core/reference/cli/influxdb3/create/plugin.md
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
content/influxdb3/core/reference/cli/influxdb3/delete/plugin.md
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
content/influxdb3/enterprise/reference/cli/influxdb3/create/plugin.md
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
content/influxdb3/enterprise/reference/cli/influxdb3/delete/plugin.md
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.