[egulu CLI reference](../index.md) / [egulu alert-rules](index.md)

# egulu alert-rules test-notification

POST /v1/projects/{project}/locations/{location}/alertRules/{alertRule}:testNotification

```sh
egulu alert-rules test-notification [options]
```

## API operation

[AlertRuleLifecycle_testNotification](../../api/observability/AlertRuleLifecycle_testNotification.md): `POST /v1/projects/{project}/locations/{location}/alertRules/{alertRule}:testNotification` (observability module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--alert-rule` | value | yes | alertRule |
| `--channel` | value | no | channel |
| `--location` | value | yes | location |
| `--project` | value | yes | project |

The [global options](../index.md) apply too.
