IBM Cloud Docs
Reseting the permitted target regions in the account

Reseting the permitted target regions in the account

To reset the IBM Cloud Metrics Routing account's permitted target regions, you must delete the permitted target regions from the account configuration.

Resetting target regions using the UI

You can remove all permitted target regions using the IBM Cloud Metrics Routing UI by updating your account settings and removing all permitted target regions. For more information, see Configuring account settings.

Prereqs

  1. Install the IBM Cloud CLI.

  2. Install the IBM Cloud Metrics Routing CLI.

  3. Ensure you have the correct IAM permissions to configure IBM Cloud Metrics Routing settings.

  4. Log in to IBM Cloud by running the following command: ibmcloud login

Check your current account settings

To check your account's configuration and find out if there are default targets configured, run the following command:

ibmcloud metrics-router setting get

The setting Permitted target regions lists the locations in the account that have been configured as valid locations where targets can be created.

Reset the default targets

Run the following command to reset the account's default targets:

ibmcloud metrics-router setting update  --permitted-target-regions ""