Skip to main content

Update an authorized IP

PUT 
/security/authorized_ips/:id

Updates the specified authorized IP with the values of the parameters passed. Any parameters not included in the request will be left unchanged.

Request

Path Parameters

    id stringrequired

    ID of Authorized IP to update

Body

required

Updated Authorized IP object

    connection_id stringrequired
    ip_address stringrequired

Responses

200: Authorized IP updated response

400: Bad request

401: Unauthorized

Request samples


curl -L -X PUT 'https://api.telnyx.com/security/authorized_ips/:id' \
-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
}