Delete an outbound voice profile
DELETE/outbound_voice_profiles/:id
Deletes an existing outbound voice profile.
Request
Path Parameters
id int64required
Identifies the resource.
Responses
200: Successful response
- application/json
401: Unauthorized
404: Resource not found
422: Bad request
Request samples
curl -L -X DELETE 'https://api.telnyx.com/v2/outbound_voice_profiles/:id' \
-H 'Accept: application/json'
Response samples
{
"data": {
"id": "1293384261075731499",
"record_type": "outbound_voice_profile",
"name": "office",
"connections_count": 12,
"traffic_type": "conversational",
"service_plan": "global",
"concurrent_call_limit": 10,
"enabled": true,
"tags": [
"office-profile"
],
"usage_payment_method": "rate-deck",
"whitelisted_destinations": [
"US",
"BR",
"AU"
],
"max_destination_rate": 10,
"daily_spend_limit": "100.00",
"daily_spend_limit_enabled": true,
"call_recording": {
"call_recording_type": "by_caller_phone_number",
"call_recording_caller_phone_numbers": [
"+19705555098"
],
"call_recording_channels": "dual",
"call_recording_format": "mp3"
},
"billing_group_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}