Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Delete a scope
Follow the steps in this section to delete an IPAM scope.
You can't delete a scope if either of the following is true:
The scope is a default scope. When you create an IPAM, two default scopes (one public, one
private) are created automatically, and cannot be deleted. To see if a scope is
a default scope, view the Scope type in the details of the
scope.
There are one or more pools in the scope.
You must first Delete a pool
before you can delete the scope.
- Amazon Management Console
-
To delete a scope
Open the IPAM console at
https://console.amazonaws.cn/ipam/.
-
In the navigation pane, choose Scopes.
-
In the content pane, choose the scope that you want to delete.
-
Choose Actions > Delete scope.
-
Enter delete
and then choose
Delete.
- Command line
-
The commands in this section link to the Amazon CLI Reference documentation.
The documentation provides detailed descriptions of the options that you can use
when you run the commands.
Use the following Amazon CLI commands to delete a scope:
To create a new scope, see Create additional scopes. To delete the IPAM, see Delete an IPAM.