Removes a number from a number pool.
API Endpoint
https://api.plivo.com/v1/Account/{auth_id}/NumberPool/{number_pool_uuid}/Number/{number}/
Arguments
unrent boolean | Default is false if not specified. |
Returns
This API call removes a number from a number pool identified by the number
and number_pool_uuid
specified in the request URL.
import plivo
import json
client = plivo.RestClient('<auth_id>','<auth_token>')
powerpack = client.powerpacks.get(uuid="powerpack_uuid")
print str(powerpack.remove_number('your-number'))
{
"api_id": "c378d44c-0a89-11ea-b072-0242ac110007",
"response": "success"
}