GetGlobalIpAssignmentHealth
GET/global_ip_assignment_health
GetGlobalIpAssignmentHealth
Request
Query Parameters
filter[global_ip_id][in] string
Filter by Global IP ID(s) separated by commas
filter[global_ip_assignment_id][in] string
Filter by Global IP Assignment ID(s) separated by commas
filter[timestamp][gt] date-time
Filter by timestamp greater than
filter[timestamp][lt] date-time
Filter by timestamp less than
Responses
200: Successful response
- application/json
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/global_ip_assignment_health' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": [
{
"timestamp": "2020-01-01T00:00:00.000Z",
"global_ip": {
"id": "a836125b-20b6-452e-9c03-2653f09c7ed7",
"ip_address": null
},
"global_ip_assignment": {
"id": "a836125b-20b6-452e-9c03-2653f09c7ed7",
"wireguard_peer_id": "e66c496d-4a85-423b-8b2a-8e63fac20320",
"wireguard_peer": {
"name": "Wireguard Peer 1",
"ip_address": "73.47.1.23"
}
},
"health": {
"pass": 100,
"fail": 0
}
}
]
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}