NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

Management → Cancel maintenance

AI-generated

Summary

Cancel maintenance mode for a specific device identified by its ID in NinjaOne management.

Inputs

  • id (required) — The numeric identifier of the device on which to cancel maintenance mode.
  • Custom Body — Optionally provide arbitrary JSON fields to include in the request body, which overrides standard parameters if duplicated.
  • Custom Headers — Optionally add custom HTTP headers to the API request.
  • Query Filters — Optionally add custom query string parameters to the API request.
  • Batching — Optionally configure batching of multiple input items into groups with pauses between batches to avoid throttling.
  • Debug — Optionally enable debug output showing the full API request details.
  • Pagination — Optionally configure pagination, though it typically does not apply to this operation.
  • Timeout (ms) — Optionally configure the maximum time to wait for a server response before aborting.

Output shape

a single response object indicating success or failure of the cancellation request

The operation sends a DELETE request to the path /v2/device/{id}/maintenance to cancel maintenance mode on the specified device by ID. The output contains the API response. Debug information is included if enabled.

Links

Discussion