# DnsZones_update

**State:** Alpha  
**Module:** [edge](index.md)

```http
PATCH /v1/projects/{project}/locations/{location}/dnsZones/{dnsZone}
```

| Property | Value |
|---|---|
| Permission | `edge.dnsZones.update` |
| Risk | R2 |
| Lifecycle | alpha |
| Request body | yes |
| Agent tool | yes |
| Moves money | yes |
| Quota | counted |

## Parameters

| Name | In | Required | Type |
|---|---|---|---|
| `project` | path | yes | string |
| `location` | path | yes | string |
| `dnsZone` | path | yes | string |
| `updateMask` | query | no | string |
| `requestId` | query | no | string |
| `Idempotency-Key` | header | no | string |
| `etag` | query | no | string |
| `If-Match` | header | no | string |
| `validateOnly` | query | no | boolean |

## Responses

`202`, `400`, `401`, `402`, `403`, `404`, `409`, `412`, `422`, `429`, `451`, `500`, `501`, `503`, `504`

An error is an `application/problem+json` body; its `code` is one of the [problem codes](../problems/index.md).

## CLI

```sh
egulu dns-zones update
```
