API documentation
Hapus DNS Recataud
Hapus a specific DNS recataud by ID
Content-Type
application-json
kategori
dns
aksi
delete_record
Parameter permintaan
| Nama parameter | Tipe | Deskripsi | Contoh |
|---|---|---|---|
| domain | String (3-60) | Nama domain | example.com |
| id | Bilangan bulat | DNS recataud ID to delete | 12345 |
Parameter respons
| Nama parameter | Tipe | Deskripsi |
|---|---|---|
| id | Bilangan bulat | 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"
}
Kembalikan hasil
0 OK
Respons berhasil
{
"code": 0,
"msg" : "success",
"data" : {
{
"id": 12345
}
}
}
400 Permintaan tidak valid
{
"code": 400,
"msg" : "Request parameter error",
}






