# Delete domain DNS record

`DELETE /v1/domain/@id/dns/@index` · scope `dns:write`

Delete DNS record number `@index` of the domain.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/domain/@id/dns/@index` |
| 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 |
| --- | --- | --- | --- | --- |
| `id` | path | int | yes | Domain ID |
| `index` | path | string | yes | Position of the record in the domain's DNS record list |
| `record_id` | query | int | — | Recod index |

## Example request

```bash
curl -X DELETE "https://api.tino.vn/v1/domain/200001/dns/0" \
  -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)): no dedicated function yet, use `client.request("DELETE", "/domain/@id/dns/@index")`.

## Example response

No live sample: the route changes real data or the test account has no data for it. The answer is a JSON object; errors follow the common shape in [Calling the Tino API](/en/docs/api#errors).
