---
title: "Update DCIs status"
method: POST
path: "/objects/{object-id}/data-collection/set-status"
tags: ["Data collection"]
---

# Update DCIs status

`POST /objects/{object-id}/data-collection/set-status`

Request to update DCI list statuses

## Path parameters

- `object-id` string, required

## Query parameters

- `command` string

## Request body

- object
  - `alarms` integer[]

## Response `200`

OK

## Other responses

- `401` — Access denied

## Changes

- **2024-03-27** `7c3ae1b2c1f0` — 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/objects/:object-id/data-collection/set-status/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/0976cbca9648/schema)
