API documentation
Padam DNS Recataud
Padam a specific DNS recataud by ID
Content-Type
application-json
kategori
dns
tindakan
delete_record
Parameter permintaan
| Nama parameter | Jenis | Huraikan | Contoh |
|---|---|---|---|
| domain | Rentetan (3-60) | Nama domain | example.com |
| id | Integer | DNS recataud ID to delete | 12345 |
Parameter respons
| Nama parameter | Jenis | Huraikan |
|---|---|---|
| id | Integer | DNS recataud ID |
Contoh Permintaan
{
curl https://api.nicenic.net/v2/?category=dns&action=delete_record&domain={domain}&id={id}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Hasil Pulangan
0 OK
Respons berjaya
{
"code": 0,
"msg" : "success",
"data" : {
{
"id": 12345
}
}
}
400 Permintaan tidak sah
{
"code": 400,
"msg" : "Request parameter error",
}






