Skip to main content

Create new Access IP Range

POST 
/access_ip_ranges

Create new Access IP Range

Request

Body

required

    cidr_block Cidr Block (string)required
    description Description (string)

Responses

200: Successful Response

422: Validation Error

Request samples


curl -L 'https://api.telnyx.com/v2/access_ip_ranges' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"cidr_block": "string",
"description": "string"
}'

Response samples


{
"id": "string",
"cidr_block": "string",
"status": "pending",
"description": "string",
"user_id": "string",
"created_at": "2024-07-26T07:46:21.509Z",
"updated_at": "2024-07-26T07:46:21.509Z"
}