Create a CIDR block
POST https://{{host}}/identity-management/v3/user-admin/ip-acl/allowlist
This operation adds CIDR blocks to your account's allowlist. You can add only one CIDR block at a time. Before creating the CIDR block, you may want to validate it, to check if its format is correct.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
accountSwitchKey | string | (Optional) 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. |
Request Body
{"cidrBlock"=>"128.10.46.60/24", "comments"=>"EMEA Offices", "enabled"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"actions":{"delete":true,"edit":false},"cidrBlock":"128.5.6.6/24","cidrBlockId":2567,"comments":"APAC Region","createdBy":"alfulani","createdDate":"2017-07-27T18:11:25.000Z","enabled":true,"modifiedBy":"alfulani","modifiedDate":"2017-07-27T18:11:25.000Z"}