---
type: api
title: Unsnooze an alert
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana-serverless/operation/operation-post-alerting-rule-rule-id-alert-alert-id-unsnooze
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana-serverless/operation/operation-post-alerting-rule-rule-id-alert-alert-id-unsnooze
products:
  - Kibana
---

# Unsnooze an alert

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

## Paths

- `POST` `/api/alerting/rule/{rule_id}/alert/{alert_id}/_unsnooze`
- `POST` `/s/{space_id}/api/alerting/rule/{rule_id}/alert/{alert_id}/_unsnooze`

#### Path parameters

- `rule_id` (string · max length: 256) — required
  The identifier for the rule.
- `alert_id` (string · max length: 1000) — required
  The identifier for the alert.

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

## Authentication

- Api key: `Authorization: <value>`
  You must create an API key and use the encoded value in the request header. To learn about creating keys, go to [API keys](https://www.elastic.co/docs/current/serverless/api-keys).

## Header parameters

- `kbn-xsrf` (string) — required
  A required header to protect against CSRF attacks

## Responses

#### `204`

Indicates a successful call.

#### `400`

Indicates an invalid schema or parameters.

#### `403`

Indicates that this call is forbidden.

#### `404`

Indicates the specified rule or alert doesn't exist.

## Code examples

#### Console

```console
POST kbn:/api/alerting/rule/RULE_ID/alert/ALERT_ID/_unsnooze
```

#### curl

```curl
curl -X POST "${KIBANA_URL}/api/alerting/rule/${RULE_ID}/alert/${ALERT_ID}/_unsnooze" \
  -H "kbn-xsrf: true" \
  -H "Authorization: ApiKey ${API_KEY}"
```

