---
title: "ezgh notifications settings set"
description: "Replace who gets notices by email."
---

> 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 notifications settings 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 notifications settings set -f <file> [flags]
```

Replace the notification settings with a JSON document: each category's contact addresses (at most 10) and the muted types. Contacts may be addresses or the &#123;"address", "confirmed"&#125; objects `settings get -o json` prints. A new address is emailed a link to confirm, and gets notices once it has. Required types can't be muted.

If the settings change between ezgh reading them and saving yours, nothing is saved.

Part of [`ezgh notifications settings`](/cli/reference/notifications-settings).

## Examples

```sh
ezgh notifications settings get -o json > settings.json
ezgh notifications settings set -f settings.json
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-f`, `--file` | string |  | the settings: a JSON file, or - for stdin |

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

Source: https://docs.ezghcloud.com/cli/reference/notifications-settings-set/index.mdx
