API documentation
Delete DNS Recoderd
Delete a specific DNS recoderd by ID
Content-Type
application-json
Kategorie
dns
Aktion
delete_record
Anfrageparameter
| Parametername | Typ | Beschreibung | Beispiel |
|---|---|---|---|
| domain | Zeichenkette (3-60) | Domainname | example.com |
| id | Ganzzahl | DNS recoderd ID to delete | 12345 |
Antwortparameter
| Parametername | Typ | Beschreibung |
|---|---|---|
| id | Ganzzahl | DNS recoderd ID |
Anfragebeispiel
{
curl http://api.www.unionroom.cn/v2/?category=dns&action=delete_record&domain={domain}&id={id}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Rückgabewert
0 OK
Erfolgreiche Antwort
{
"code": 0,
"msg" : "success",
"data" : {
{
"id": 12345
}
}
}
400 Fehlerhafte Anfrage
dns0 








