Numbers¶
List numbers¶
-
GET
/api/v1/tenants/
(string: tenant_id)/numbers/
¶ - The API is mapped to ServiceProviderDnGetAvailableListRequest for the ‘available’ parameter.The API is mapped to ServiceProviderDnGetSummaryListRequest for the ‘assignement’ parameter.
Add numbers¶
-
POST
/api/v1/tenants/
(string: tenant_id)/numbers/
¶ - The API is implemented using the ServiceProviderDnAddListRequestThere is no partial success possible: it is a all or nothingIf a number already exists, the addition of that number is considered as a success. In that case there is a ‘warning’ additional attribute with more details
Remove numbers¶
-
DELETE
/api/v1/tenants/
(string: tenant)/numbers/
¶ - The API is implemented using the ServiceProviderDnDeleteListRequestThere is no partial success possible: it is a all or nothingIf a number does not exist, the delete is considered as a success