Delete dialer record phone number
DELETE/:organization_id/dialer_record_phone_numbers/:id
Deletes a specific dialer record phone number
Request
Path Parameters
id integerrequired
Responses
- 204
- 401
- 403
- 404
Phone number deleted successfully
Unauthorized
Forbidden
Not found
Authorization: http
name: basicAuthtype: httpscheme: basicdescription: Basic Authentication using API Key ID and API Key. - API Key ID is used as the username - API Key is used as the password
- python
- nodejs
- ruby
- curl
- go
- php
- java
- powershell
- javascript
- rust
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("cloud-staging.cloverhound.com")
payload = ''
headers = {
'Authorization': 'Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+'
}
conn.request("DELETE", "/:organization_id/dialer_record_phone_numbers/:id", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))