import plivoclient = plivo.RestClient('<auth_id>','<auth_token>')response = client.numbers.delete( number='12025551111', )print(response)# Or you could use the number object directly to delete itnumber = client.numbers.get('12025551111')response = number.delete()print(response)
Copy
Ask AI
HTTP Status Code: 204
Account Phone Number
Unrent a number
Unrent the phone number from your account. This operation cannot be undone.API Endpoint
import plivoclient = plivo.RestClient('<auth_id>','<auth_token>')response = client.numbers.delete( number='12025551111', )print(response)# Or you could use the number object directly to delete itnumber = client.numbers.get('12025551111')response = number.delete()print(response)