These docs are for v2. Click to read the latest docs for v3.

Modify a CIDR block

Enable or disable an existing CIDR block, update comments, IP address, or range 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

A unique identifier for a CIDR block.

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
string
required

The value of an IP address or IP address range.

string

Descriptive text for the CIDR block.

boolean
required

If false, the allowlist ignores the CIDR block.

Response

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