CIDR block

Remove-IAMCIDRBlock

Synopsis

Delete a CIDR block.

Syntax

Remove-IAMCIDRBlock [-CIDRBlockID] <String> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Deletes a CIDR block from the IP allowlist. After you delete a CIDR block, any requests from the IP addresses you deleted fail the next time someone tries to log in from that address.

Users accessing Control Center from an IP address you delete aren't automatically logged out of Control Center at the time you delete the IP address.

When the IP allowlist is enabled for your account, you can't delete the last CIDR block in the allowlist or the CIDR block allowing access to the current user.

There are no restrictions on CIDR block deletion when the IP allowlist is disabled on your account.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑CIDRBlockID
Required

Your CIDR block's ID. To get this value, run Get-IAMCIDRBlock.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links