Skip to main content

Update VXC

PATCH 
/networking/vxcs/:id

Update the details of a VXC

Request

Path Parameters

    id stringrequired

    The id of the VXC

Body

    primary_cloud_ip string

    If null, the value will either be auto-generated by Telnyx (for AWS and Azure) or by your VPC (for Google Cloud). If you have AWS and Azure, and you want to specify your own value, you will also need to specify a value for primary_telnyx_ip and primary_bgp_key

    primary_routing_announcement boolean

    Whether the primary BGP route is being announced

    secondary_cloud_ip string

    If null, the value will either be auto-generated by Telnyx (for AWS and Azure) or by your VPC (for Google Cloud). This field should only be included in the POST body if you desire a redundant link. If you have AWS and Azure, and you want to specify your own value, you will also need to specify a value for secondary_telnyx_ip and secondary_bgp_key

    secondary_routing_announcement boolean

    Whether the secondary BGP route is being announced

Responses

200: Successful response

401: Authentication error

403: Authorization error

422: Invalid parameters supplied in request. See HTTP response body for details.

Request samples


curl -L -X PATCH 'https://api.telnyx.com/networking/vxcs/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"primary_cloud_ip": "string",
"primary_routing_announcement": true,
"secondary_cloud_ip": "string",
"secondary_routing_announcement": true
}'

Response samples


{
"data": {
"afi": "string",
"bandwidth_mbps": 0,
"bgp_asn": 0,
"cloud_account_id": "string",
"cloud_provider": "string",
"cloud_region": "string",
"network_id": "string",
"site_id": "string",
"user_id": "string",
"id": 0,
"notes": "string",
"primary_cid": "string",
"primary_link_id": "string",
"primary_bgp_key": "string",
"primary_cloud_ip": "string",
"primary_routing_announcement": true,
"primary_telnyx_ip": "string",
"primary_virtual_link_created": true,
"record_type": "string",
"secondary_link_id": "string",
"secondary_cid": "string",
"secondary_bgp_key": "string",
"secondary_cloud_account_id": "string",
"secondary_cloud_ip": "string",
"secondary_routing_announcement": true,
"secondary_telnyx_ip": "string",
"secondary_virtual_link_created": true,
"order_status": "string"
}
}