Networks
Get Default Gateway status.
Changed onReturns the status of the default gateway configured on the specified network.
get/networks/{id}/default_gateway
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/networks/{id}/default_gateway
- Auth: HTTP bearer
Path parameters
idstring uuid required
Example:6a09cdc3-8948-47f0-aa62-74ac943d6c58
Identifies the resource.
Response
Successful response
Example response
{
"data": [
{
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "default_gateway",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z",
"network_id": "e66c496d-4a85-423b-8b2a-8e63fac20320",
"wireguard_peer_id": "e66c496d-4a85-423b-8b2a-8e63fac20320",
"status": "provisioned"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}Changes
- breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking
- breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status - breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status
- breaking