GET - Service Provider DNs
Returns all numbers assigned to Service Provider/ Enterprise with the group its assigned to and if the numbers can be deleted.
Parameters
service_provider_id (str): Service Provider or Enterprise ID where target numbers are located.
Returns
Dict: All numbers assigned to Service Provider/ Enterprise with group and delete status.
How To Use:
my_api.dns.get_service_provider_dns(
"serviceProviderId"
)
Example Returned Data (Formatted)
{
"serviceProviderId": "odin.mock.ent1",
"dns": [
{
"canDelete": true,
"groupId": null,
"min": "+1-9709580015",
"max": "+1-9709580100"
},
{
"canDelete": false,
"groupId": "odin.mock.grp1",
"min": "+1-9709580001",
"max": "+1-9709580010"
}
]
}
Last updated
Was this helpful?