Modify a CIDR block

This operation enables or disables an existing CIDR block, updates comments, IP addresses, or ranges in the CIDR block. Note that you can only update a CIDR block with IP allowlist enabled on the account. There are several CIDR blocks on the allowlist and your attempt to make changes to the CIDR block is from an IP address that's on the allowlist. You can't edit the last CIDR block in the allowlist or the CIDR block allowing access to the current user.

Path Params
integer
required

Unique identifier for each CIDR block. To get this value, run the List CIDR blocks operation.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params

Encapsulates all data sent while creating or updating a CIDR block.

string
required
length ≥ 1

The value of an IP address or IP address range.

string
length ≥ 1

Descriptive label you provide for the CIDR block.

boolean
required

Enables the IP allowlist on the account.

Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json