aws ec2 disable-ipam-organization-admin-account
Disable the IPAM account. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To disable the delegated IPAM admin
The following disable-ipam-organization-admin-account example disables the delegated IPAM admin in your AWS account.
In certain scenarios, you'll integrate IPAM with AWS Organizations. When you do that, the AWS Organizations management account delegates an AWS Organizations member account as the IPAM admin.
In this example, you are the AWS Organizations management account that delegated the IPAM admin account and you want to disable that account from being the IPAM admin.
You can use any AWS Region when making this request. You don't have to use the Region where you originally delegated the admin, where the IPAM was created, or an IPAM operating Region. If you disable the delegated admin account, you can re-enable it at any time or delegate a new account as IPAM admin.
aws ec2 disable-ipam-organization-admin-account --delegated-admin-account-id 123456789012Identify--delegated-admin-account-idThe Organizations member account ID that you want to disable as IPAM account.Its output
{
"Success": true
}For more information, see Integrate IPAM with accounts in an AWS Organization in the Amazon VPC IPAM User Guide.
Options
--delegated-admin-account-idThe Organizations member account ID that you want to disable as IPAM account.--dry-runA check for whether you have the required permissions for the action without actually making the request and provides an error response.