---
type: api
title: Mute all alerts
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v0/operation/operation-post-alerting-rule-id-mute-all
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v0/operation/operation-post-alerting-rule-id-mute-all
products:
  - Kibana
---

# Mute all alerts

- Server: `https://{kibana_url}`

## Paths

- `POST` `/api/alerting/rule/{id}/_mute_all`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v0/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v0/authentication#basicauth)

#### Path Parameters

- `id` (string)
  The identifier for the rule.

## Responses

#### `204`

Indicates a successful call.

#### `400`

Indicates an invalid schema or parameters.

#### `403`

Indicates that this call is forbidden.

#### `404`

Indicates a rule with the given ID does not exist.

## Code Examples

#### Console

```console
POST /api/alerting/rule/{id}/_mute_all
```

#### curl

```curl
curl -X POST "https://{kibana_url}/api/alerting/rule/{id}/_mute_all" \
  -H "kbn-xsrf: true"
```

