Page tree
Skip to end of metadata
Go to start of metadata

Release phone numbers from your account.

Sample URIs

GET: https://api.multitel.net/{output}/releasenumbers/{username}/{password}/{number}
POST: https://api.multitel.net/{output}/releasenumbers

List of parameters:

ParameterRequiredDescription
outputYesOne of :  json , xml , csv
usernameYesYour account username or API username.
passwordYesYour account password or API password.
numberYesThe number you are deleting/releasing

Information on output values:

Key nameDescription
RETURNReturns the purchased phone number on success, returns 0 on failure
STATUSReturns 200 on success, 500 on failure

Important

If you are releasing a phone number that was also provisioned with E911 , this number will be unprovisioned with E911 . Please keep that in mind when releasing phone numbers.

Sample successful output - JSON

{"DATA":[{"RETURN":"18006231451","STATUS":200}]}

Sample successful output - XML

<?xml version="1.0"?> 
<DATA>
<RETURN>
 18006231451</RETURN>
<STATUS>
200</STATUS>
</DATA> 
When releasing multiple numbers, the best way to do that is to loop through your number list and call the releasenumbers function for each of the numbers you are releasing.