---
title: "Set object managed state"
method: POST
path: "/objects/{object-id}/set-managed"
tags: ["Objects"]
---

# Set object managed state

`POST /objects/{object-id}/set-managed`

Sets object to managed or unmanaged state

## Path parameters

- `object-id` string, required

## Request body

- object
  - `managed` boolean, required — true for managed, false for unmanaged

## Response `200`

Management state changed

## Other responses

- `401` — Access denied

## Changes

- **2026-01-30** `32f48ec94aec` — 1 breaking, 3 info
  - the request property `managed` became required
  - api operation id `changeManagedState` removed and replaced with `setManagedState`
  - added the optional property `description` to the response with the `401` status
  - added the optional property `error` to the response with the `401` status
- **2025-03-31** `0976cbca9648` — 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/set-managed/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/32f48ec94aec/schema)
