# Delete DNSSEC key

`DELETE /v1/domain/@id/dnssec/@key` · scope `domains:write`

Delete DNSSEC key `@key` of the domain.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/domain/@id/dnssec/@key` |
| Method | `DELETE` |
| Scope | `domains: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 | integer | yes | Domain ID |
| `key` | path | string | yes | DNSSEC key to remove |

## Example request

```bash
curl -X DELETE "https://api.tino.vn/v1/domain/200001/dnssec/1" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

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

SDK ([SDK & examples](/en/docs/sdk)): Python `client.domains.remove_dnssec_key(id, key)`, Node.js `await client.domains.removeDnssecKey(id, key);`, PHP `$client->domains->removeDnssecKey($id, $key);`.

## 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).
