---
title: "This endpoint is used for performing bulk update operations on alerts."
method: POST
path: "/alerts/bulk-update"
tags: ["Monitoring and Alerting"]
---

# This endpoint is used for performing bulk update operations on alerts.

`POST /alerts/bulk-update`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/alerts/bulk-update`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/alerts/bulk-update/post.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows you to perform bulk update operations on alerts based on filter criteria.

## Request body

- JumpcloudAlertsBulkUpdateRequest: BulkUpdateRequest is used to perform bulk update operations on alerts.
  - `excludeIds` string[]
  - `filter` JumpcloudAlertsFilterCriteria
    - `category` JumpcloudAlertsAlertCategory[]
    - `existingCondition` string
    - `lastOccurredAtAfter` string
    - `lastOccurredAtBefore` string
    - `severity` JumpcloudAlertsAlertSeverity[]
    - `sourceId` string[]
    - `sourceType` JumpcloudAlertsAlertSourceType[]
    - `status` JumpcloudAlertsAlertStatus[]
    - `title` string
  - `remark` string
  - `updateField` JumpcloudAlertsUpdateField
    - `status` 'ALERT_STATUS_UNSPECIFIED' | 'ALERT_STATUS_OPEN' | 'ALERT_STATUS_ACKNOWLEDGED' | 'ALERT_STATUS_RESOLVED' | 'ALERT_STATUS_AUTO_RESOLVED' | 'ALERT_STATUS_DELETED': AlertStatus specifies status of an alert.

## Response `200`

A successful response.

- JumpcloudAlertsBulkUpdateResponse: BulkUpdateResponse is the response message to BulkUpdateRequest.
  - `affectedCount` integer

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
