---
title: "ezgh domains contact set"
description: "Set the registrant contact."
---

> 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 domains contact set

{/* 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 domains contact set [--domain d] --first-name … --last-name … [--company …] --address1 … [--address2 …] --city … --state … --zip … --country CC --email … --phone +E164 [flags]
```

Set the organization's registrant contact, which new domains are registered to and which domains without their own follow, or with `--domain` give a domain its own. Fields left out keep their current value. `--country` is a two-letter code (US); `--phone` is international, starting with + (+15550100100). Leave `--company` empty to register the domain to you. If you fill it in, that organization is the domain's legal registrant.

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

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--address1` | string |  | address line 1 |
| `--address2` | string |  | address line 2 |
| `--city` | string |  | city |
| `--company` | string |  | organization: leave empty to register to you |
| `--country` | string |  | two-letter country code |
| `--domain` | string |  | give this domain its own contact |
| `--email` | string |  | email address |
| `--first-name` | string |  | first name |
| `--last-name` | string |  | last name |
| `--phone` | string |  | phone, starting with + |
| `--state` | string |  | state or region |
| `--zip` | string |  | postal code |

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

Source: https://docs.ezghcloud.com/cli/reference/domains-contact-set/index.mdx
