Delete domain DNS record
curl --request DELETE \
--url https://api.knst.lol/v2/domains/{domain_id}/dns-records \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "A",
"name": "staging.mydomain.com"
}
'{
"message": "Deleting domain DNS record in progress",
"status": 202,
"operation_id": "domains:delete-dns-record-54fb80af-576c-4fdc-ba4f-b596c83f15a1"
}Domains
Delete domain DNS record
DELETE
/
domains
/
{domain_id}
/
dns-records
Delete domain DNS record
curl --request DELETE \
--url https://api.knst.lol/v2/domains/{domain_id}/dns-records \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "A",
"name": "staging.mydomain.com"
}
'{
"message": "Deleting domain DNS record in progress",
"status": 202,
"operation_id": "domains:delete-dns-record-54fb80af-576c-4fdc-ba4f-b596c83f15a1"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Example:
"54fb80af-576c-4fdc-ba4f-b596c83f15a1"
⌘I