Skip to main content

Delete a dynamic emergency endpoint

DELETE 
/dynamic_emergency_endpoints/:id

Deletes the dynamic emergency endpoint based on the ID provided

Request

Path Parameters

    id uuidrequired

    Dynamic Emergency Endpoint id

Responses

200: Dynamic Emergency Endpoint Response

401: Unauthorized

404: Resource not found

422: Unprocessable entity. Check message field in response for details.

Request samples


curl -L -X DELETE 'https://api.telnyx.com/v2/dynamic_emergency_endpoints/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": {
"id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f0",
"record_type": "dynamic_emergency_endpoint",
"dynamic_emergency_address_id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f0",
"status": "pending",
"sip_from_id": "FXDFWEDF",
"callback_number": "+13125550000",
"caller_name": "Jane Doe Desk Phone",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}