Skip to main content

Delete an FQDN

DELETE 
/fqdns/:id

Delete an FQDN.

Request

Path Parameters

    id int64required

    Identifies the resource.

Responses

200: Successful response with details about an FQDN connection.

400: Bad request, the request was unacceptable, often due to missing a required parameter.

401: Unauthorized

403: The user doesn't have the required permissions to perform the requested action.

404: The requested resource doesn't exist.

Request samples


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

Response samples


{
"data": {
"id": "1293384261075731499",
"record_type": "fqdn",
"connection_id": "1516447646313612565",
"fqdn": "example.com",
"port": 5060,
"dns_record_type": "a",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}