---
title: "Changes to Make object enter or leave maintenance mode, immediately or on schedule"
method: POST
path: "/v1/objects/{object-id}/set-maintenance"
---

# Changes to Make object enter or leave maintenance mode, immediately or on schedule

`POST /v1/objects/{object-id}/set-maintenance`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 115 revisions.

- **2026-08-04** `fa1d1baee402` — 2 info
- **2026-06-12** `6ef72b83c12a` — 2 info
- **2026-06-10** `30e75dc6a94c` — 1 breaking, 1 info
- **2026-05-08** `c6aaf3632e48` — 1 breaking, 2 warning, 1 info

## Changes

- **2026-08-04** `fa1d1baee402` — 2 info
  - added the new optional request property `duration`
  - added the new optional request property `schedule`
- **2026-06-12** `6ef72b83c12a` — 2 info
  - added the new optional request property `endTime`
  - added the new optional request property `startTime`
- **2026-06-10** `30e75dc6a94c` — 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `204`
- **2026-05-08** `c6aaf3632e48` — 1 breaking, 2 warning, 1 info
  - removed the success response with the status `204`
  - removed the request property `endTime`
  - removed the request property `startTime`
  - added the success response with the status `200`

---

[Operation](https://skmtc.dev/netxms/apis/netxms-api/docs/v1/objects/:object-id/set-maintenance/post.md) · [API](https://skmtc.dev/netxms/apis/netxms-api.md) · [Page](https://skmtc.dev/netxms/apis/netxms-api/changes/v1/objects/:object-id/set-maintenance/post)
