Stop renting phone number{accountSID}/numbers/{numberSID}


To delete a number (discontinue rental of a phone number), make the DELETE request to /accounts/{accountSID}/numbers/{numberSID}.

Request example

The following cURL example demonstrates releasing the phone number.

curl –X DELETE{accountSID}/numbers/{numberSID} \
-u {accountSID}:{authToken}

Response example

  "status_code": 204,
  "status_message": "NO CONTENT"

By visiting the Apifonica website you agree with our use of cookies. Read our Cookie Policy here.