If you need to release a number from Twilio, there are a few different ways to do it. The first is to use the web interface. To release a number, go to your Account page and select Numbers. On the Numbers page, select the number you want to release and click Release. You’ll be prompted for the reason you’re releasing the number and then given a few options on how to proceed. The second way to release a number is through the API. To do this, you’ll need access to your account’s API keys. Go to your Account page and select Keys under Settings. On the Keys page, find your API keys and click Copy. Then open a command prompt or terminal window and type: curl -X POST https://api.twilio.com/1/accounts/YOURACCOUNTID/numbers -d ‘{“release”: “RELEASE_NUMBER”}’ The third way is through the Command Line Interface (CLI). To use this method, you’ll need access to your account’s CLI keys. Go to your Account page and select Keys under Settings. On the Keys page, find your CLI keys and click Copy. Then open a command prompt or terminal window and type: twilio release NUMBER ..
Open your Twilio account and go to the Messages tab. Click on the message you want to cancel. Click on “Cancel Message” at the bottom of the page.