---
title: "Change state of alarm"
method: POST
path: "/alarms"
tags: ["Alarms"]
---

# Change state of alarm

`POST /alarms`

Change state of alarm

## Query parameters

- `command` string
- `timeout` integer

## Request body

- object
  - `alarms` integer[]

## Response `200`

OK

## Other responses

- `401` — Access denied

## Changes

- **2023-02-28** `910d3ad08e09` — 2 info
  - api operation id `changeAlarmState` was added
  - added the non-success response with the status `401`
- **2023-02-27** `56704a958ac6` — 1 info
  - endpoint added
- **2023-02-23** `9c09a2aad349` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/netxms/apis/netxms-rest-api/changes/alarms/post.md)

---

[API](https://skmtc.dev/netxms/apis/netxms-rest-api.md) · [All operations](https://skmtc.dev/netxms/apis/netxms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/netxms/netxms-rest-api/revisions/910d3ad08e09/schema)
