# Delete DNS record

`DELETE /v1/service/@service_id/dns/@zone_id/records/@record_id` · scope `dns:write`

Delete a record of the DNS zone.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/service/@service_id/dns/@zone_id/records/@record_id` |
| Method | `DELETE` |
| Scope | `dns:write` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (no body) |
| Tokens that can call it | app tokens (`tinoat_`), personal API tokens (`tinopat_`) |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `service_id` | path | integer | yes | DNS service ID |
| `zone_id` | path | integer | yes | DNS zone ID |
| `record_id` | path | integer | yes | DNS record ID |

## Example request

```bash
curl -X DELETE "https://api.tino.vn/v1/service/100003/dns/500001/records/910001" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is a token with the scope `dns:write`. Path parameters in the example are sample values.

SDK ([SDK & examples](/en/docs/sdk)): Python `client.dns.delete_record(service_id, zone_id, record_id)`, Node.js `await client.dns.deleteRecord(serviceId, zoneId, recordId);`, PHP `$client->dns->deleteRecord($serviceId, $zoneId, $recordId);`.

## Example response

```json
{
 "success": true
}
```

Live sample from a test account with personal data masked; long arrays and strings are trimmed (`… N more item(s)`, `… N more line(s)`).
