## suppressions create

Addresses we will not send to. Also spelled `suppression`.

| Command | Summary |
| --- | --- |
| [`suppressions create`](/content/docs/cli/commands/suppressions#suppressions-create/index.html) | Add suppression |
| [`suppressions delete`](/content/docs/cli/commands/suppressions#suppressions-delete/index.html) | Remove suppression |
| [`suppressions get`](/content/docs/cli/commands/suppressions#suppressions-get/index.html) | Get suppression |
| [`suppressions list`](/content/docs/cli/commands/suppressions#suppressions-list/index.html) | List suppressions |

Every command also takes the [global flags](/content/docs/cli/commands#global-flags/index.html).

## [suppressions create](/content/docs/cli/commands/suppressions#suppressions-create/index.html)

Add suppression.

Suppress an address for the whole organization, with —reason “manual”. Adding an address that is already suppressed replaces a bounce or manual suppression (its —reason becomes manual); a complaint suppression is returned unchanged. Sends to a suppressed address return 403.

Requires the list_entry_create permission.

shell

```
machinemail suppressions create [flags]
```

#### [Flags](/content/docs/cli/commands/suppressions#flags/index.html)

| Field | Description |
| --- | --- |
| `--email <value>` | Address to suppress. |
| `--detail <value>` | Note stored as --detail. |
| `--reason <value>` | Old name of --detail (it is stored as --detail; the suppression --reason is always manual). Ignored when --detail is set. |
| `-d, --data <json|@file|->` | Request body as JSON, @file or - for stdin; field flags override its keys. |

#### [Examples](/content/docs/cli/commands/suppressions#examples/index.html)

shell

```
machinemail suppressions create --email someone@example.com
machinemail suppressions create --data @body.json
```

#### [API](/content/docs/cli/commands/suppressions#api/index.html)

- [`POST /v0/suppressions`](/content/docs/reference/api/suppressions#add-suppression/index.html)

## [suppressions delete](/content/docs/cli/commands/suppressions#suppressions-delete/index.html)

Remove suppression.

Also: `machinemail suppressions rm`.

Allow sending to the address again. Organization-scoped credentials only: pod and inbox credentials get 403. Only bounce and manual suppressions can be removed: a complaint suppression returns 403 (Complaint suppressions can only be removed by MachineMail support; email [support@machinemail.dev](mailto:support@machinemail.dev)).

Requires the list_entry_delete permission.

shell

```
machinemail suppressions delete <email> [flags]
```

#### [Arguments](/content/docs/cli/commands/suppressions#arguments/index.html)

| Field | Description |
| --- | --- |
| `<email>` | Required; The suppressed address (URL-encoded). |

#### [Examples](/content/docs/cli/commands/suppressions#examples-1/index.html)

shell

```
machinemail suppressions delete someone@example.com
```

#### [API](/content/docs/cli/commands/suppressions#api-1/index.html)

- [`DELETE /v0/suppressions/{email}`](/content/docs/reference/api/suppressions#remove-suppression/index.html)

## [suppressions get](/content/docs/cli/commands/suppressions#suppressions-get/index.html)

Get suppression.

Requires the list_entry_read permission.

shell

```
machinemail suppressions get <email> [flags]
```

#### [Arguments](/content/docs/cli/commands/suppressions#arguments-1/index.html)

| Field | Description |
| --- | --- |
| `<email>` | Required; The suppressed address (URL-encoded). |

#### [Examples](/content/docs/cli/commands/suppressions#examples-2/index.html)

shell

```
machinemail suppressions get someone@example.com
```

#### [API](/content/docs/cli/commands/suppressions#api-2/index.html)

- [`GET /v0/suppressions/{email}`](/content/docs/reference/api/suppressions#get-suppression/index.html)

## [suppressions list](/content/docs/cli/commands/suppressions#suppressions-list/index.html)

List suppressions.

Also: `machinemail suppressions ls`.

Every suppressed address in the organization (also for pod and inbox credentials). Addresses are added automatically on permanent bounces and complaints.

Requires the list_entry_read permission.

shell

```
machinemail suppressions list [flags]
```

#### [Flags](/content/docs/cli/commands/suppressions#flags-1/index.html)

| Field | Description |
| --- | --- |
| `--limit <n>` | Maximum number of items to return. Default 50, maximum 500; larger values are capped. |
| `--page-token <value>` | next_page_token from the previous page. |
| `--ascending` | Sort oldest first. |
| `--all` | Follow next_page_token and return every page. |

#### [Examples](/content/docs/cli/commands/suppressions#examples-3/index.html)

shell

```
machinemail suppressions list
machinemail suppressions list --all --json | jq '.suppressions | length'
```

#### [API](/content/docs/cli/commands/suppressions#api-3/index.html)

- [`GET /v0/suppressions`](/content/docs/reference/api/suppressions#list-suppressions/index.html)
