Successful Response
Array of objects (Data) | |
object (PaginationMeta) |
import telnyx telnyx.api_key = "YOUR_API_KEY" telnyx.AccessFqdn.list(page={"number":1,"size":20})
{- "data": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "fqdn": "string",
- "id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "total_pages": 3,
- "total_results": 55,
- "page_number": 2,
- "page_size": 25
}
}
{- "description": "string",
- "fqdn": "string"
}
{- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "fqdn": "string",
- "id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
import telnyx telnyx.api_key = "YOUR_API_KEY" res = telnyx.AccessFqdn.retrieve('fqdn_id') res.delete()
{- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "fqdn": "string",
- "id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
import telnyx telnyx.api_key = "YOUR_API_KEY" telnyx.AccessFqdn.retrieve("fqdn_id")
{- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "fqdn": "string",
- "id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
{- "description": "string"
}
{- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "fqdn": "string",
- "id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
Successful Response
Array of objects (Data) | |
object (PaginationMeta) |
import telnyx telnyx.api_key = "YOUR_API_KEY" telnyx.AccessFqdns.retrieve_ip.retrieve("fqdn_id",page={"number":1,"size":20})
{- "data": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "fqdn": "string",
- "ip_address": "192.168.0.1",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "total_pages": 3,
- "total_results": 55,
- "page_number": 2,
- "page_size": 25
}
}