Create new Access IP Address
POST/access_ip_address
Create new Access IP Address
Request
- application/json
Body
required
ip_address Ip Address (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_address' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"ip_address": "string",
"description": "string"
}'
Response samples
{
"id": "string",
"ip_address": "string",
"source": "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": {}
}
]
}