Create new Access IP Range
POST/access_ip_ranges
Create new Access IP Range
Request
- application/json
Body
required
cidr_block Cidr Block (string)required
description Description (string)
Responses
200: Successful Response
- application/json
422: Validation Error
- application/json
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-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z"
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}