GET - Group DNs
Gets all numbers assigned to group.
Parameters
service_provider_id (str): Service Provider or Enterprise ID where group is hosted.
group_id (str): Group ID of target group.
Returns
Dict: Dictionary containing all DNs assigned to group.
How To Use:
my_api.dns.get_group_dns(
"serviceProviderId",
"groupID",
)
Example Returned Data (Formatted)
{
"serviceProviderId": "odin.mock.ent1",
"groupId": "odin.mock.grp1",
"dns": [
{
"assigned": true,
"activated": true,
"min": "+1-9709580001",
"max": "+1-9709580009"
},
{
"assigned": false,
"activated": false,
"min": "+1-9709580010",
"max": null
}
]
}
Last updated
Was this helpful?