Create an authorized IP
POST/security/authorized_ips
Creates a new authorized IP object.
Request
- application/json
Body
required
Authorized IP to add
connection_id stringrequired
ip_address stringrequired
Responses
200: Authorized IP created response
- application/json
400: Bad request
401: Unauthorized
Request samples
curl -L 'https://api.telnyx.com/security/authorized_ips' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"connection_id": "string",
"ip_address": "string"
}'
Response samples
{
"id": "string",
"ip_address": "string",
"port": 5060
}