copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2024-08-15 |
metrics-router |
{{site.data.keyword.attribute-definition-list}}
{: #target-default-locations-reset}
To reset the {{site.data.keyword.metrics_router_full_notm}} account's permitted target regions, you must delete the permitted target regions from the account configuration. {: shortdesc}
{: #reset_permitted_targets_ui} {: ui}
You can remove all permitted target regions using the {{site.data.keyword.metrics_router_full_notm}} UI by updating your account settings and removing all permitted target regions. For more information, see Configuring account settings.
{: #target-default-locations-reset-prereqs} {: cli}
-
Install the {{site.data.keyword.metrics_router_full_notm}} CLI.
-
Ensure you have the correct IAM permissions to configure {{site.data.keyword.metrics_router_full_notm}} settings.
-
Log in to {{site.data.keyword.cloud_notm}} by running the following command: ibmcloud login
{: #target-acct-reset-step1} {: cli} {: step}
To check your account's configuration and find out if there are default targets configured, run the following command:
ibmcloud metrics-router setting get
{: pre}
The setting Permitted target regions lists the locations in the account that have been configured as valid locations where targets can be created.
{: #target-acct-reset-step2} {: cli} {: step}
Run the following command to reset the account's default targets:
ibmcloud metrics-router setting update --permitted-target-regions ""
{: pre}