---
title: "ezgh certificates domains update"
description: "Link, unlink or rename a domain authorization."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh certificates domains update

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh certificates domains update <authorization> [--dns-zone zone|auto | --no-dns-zone] [--name n] [--enabled=bool] [flags]
```

Change a domain authorization. `--dns-zone` links it to an EZGH DNS zone, which then holds its validation records; `--no-dns-zone` unlinks it (the records stay in the zone as your own, and you keep them current). `--enabled=false` stops it being used for new certificates.

Part of [`ezgh certificates domains`](/cli/reference/certificates-domains).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--dns-zone` | string |  | link to this EZGH DNS zone (zon\_… ID, domain, or auto) |
| `--enabled` | boolean | `true` | enable or disable it |
| `--name` | string |  | rename it |
| `--no-dns-zone` | boolean |  | unlink from its zone |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/certificates-domains-update/index.mdx
