domain_delete_dns ()
Remove DNS record from zone.
| HTTP Method: | GET | |
|---|---|---|
| Parameters: | sid | session id* |
| dns_id | id of DNS record* | |
| Returns: | HTTP code | 200 (OK) |
| reply | answer is empty | |
| HTTP code | 400 (Bad request) | |
| invalid_values | array of invalid values with error messages. |
CURL
curl "https://admin.systems90.cz/api/domain_delete_dns?sid=%sid%&dns_id=%dns_id%"
PHP Library
$api->domain_delete_dns(array(
'dns_id' => %dns_id%,
));
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<status>
<code>0</code>
<text>OK</text>
</status>
</reply>