2.5 KiB
title | seotitle | description | menu | weight | aliases | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Update an organization | Update an organization in InfluxDB | Update an organization's name and assets in InfluxDB using the InfluxDB UI or the influx CLI. |
|
103 |
|
Use the influx
command line interface (CLI) or the InfluxDB user interface (UI) to update an organization.
Note that updating an organization's name will affect any assets that reference the organization by name, including the following:
- Queries
- Dashboards
- Tasks
- Telegraf configurations
- Templates
If you change an organization name, be sure to update the organization in the above places as well.
Update an organization in the InfluxDB UI
-
In the navigation menu on the left, click the user icon > About.
{{< nav-icon "account" >}}
-
Click {{< icon "edit" >}} Rename. A verification window appears.
-
Review the information, and then click I understand, let's rename my organization.
-
Enter a new name for your organization, and then click Change organization name.
Update an organization using the influx CLI
Use the influx org update
command
to update an organization. Provide the following:
- An operator token using your
influx
CLI connection configuration,INFLUX_TOKEN
environment variable, or the--token, -t
flag. - The ID of the organization
to update using the
--org-id, -i
flag. - Optional: The updated name for the organization with the
--name, -n
flag. - Optional: The updated description for the organization with the
--description, -d
flag.
Update the name of an organization
{{% code-placeholders "ORG_ID|NEW_ORG_(NAME|DESCRIPTION)" %}}
influx org update \
--org-id ORG_ID \
--name NEW_ORG_NAME \
--description NEW_ORG_DESCRIPTION \
{{% /code-placeholders %}}
Replace the following:
- {{% code-placeholder-key %}}
ORG_ID
{{% /code-placeholder-key %}}: The ID of the organization to update. - {{% code-placeholder-key %}}
NEW_ORG_NAME
{{% /code-placeholder-key %}}: The new name for the organization. - {{% code-placeholder-key %}}
NEW_ORG_DESCRIPTION
{{% /code-placeholder-key %}}: The new description for the organization.