# Edit DNS zone

`PUT /v1/service/@service_id/dns/@zone_id` · scope `dns:write`

Update the DNS zone's note.

## HTTP request

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

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `service_id` | path | int | yes | DNS service ID |
| `zone_id` | path | int | yes | DNS zone ID |
| `comment` | body | string | — | Zone comment |

## Example request

```bash
curl -X PUT "https://api.tino.vn/v1/service/100003/dns/500001" \
  -H "Authorization: Bearer $TINO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "comment": "<comment>"
}'
```

`$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("PUT", "/service/@service_id/dns/@zone_id")`.

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