---
title: "Enable or disable alert in bulk"
method: POST
path: "/api/v2/{org_id}/alerts/bulk/enable"
tags: ["Alerts"]
---

# Enable or disable alert in bulk

`POST /api/v2/{org_id}/alerts/bulk/enable`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/v2/{org_id}/alerts/bulk/enable`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/v2/:org_id/alerts/bulk/enable/post.ts> (a function with typed inputs; its response is checked against the schema)

Toggles the active status of alerts to enable or disable its monitoring and notification functionality in bulk. When disabled, the alert will stop evaluating conditions and sending notifications until re-enabled.

## Path parameters

- `org_id` string, required

## Query parameters

- `value` boolean, required
- `folder` string

## Request body

- object
  - `ids` string[], required

## Response `200`

Success

- AlertBulkEnableResponse
  - `err` string, nullable
  - `successful` string[], required
  - `unsuccessful` string[], required

## Other responses

- `404`: NotFound
- `500`: Failure

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
