There are two ways you can cancel a Plivo number at Plivo.
1. Choosing a number to cancel
Navigation: Dashboard > Numbers > Your Numbers.
Choose the numbers you’d like to cancel and click on the Delete box as shown below.
2. Canceling numbers using API.
You need to make an HTTP DELETE request to the Number API resource. Check out this page to learn more details.