Deletes an External Connection
DELETE/external_connections/:id
Permanently deletes an External Connection. Deletion may be prevented if the application is in use by phone numbers, is active, or if it is an Operator Connect connection. To remove an Operator Connect integration please contact Telnyx support.
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/external_connections/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": {
"id": "1930241863466354012",
"record_type": "external_connection",
"external_sip_connection": "zoom",
"credential_active": false,
"active": false,
"created_at": "2022-06-29T19:23:59Z",
"updated_at": "2022-06-29T19:39:47Z",
"outbound": {
"outbound_voice_profile_id": "1911630617284445511"
}
}
}