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

RelatedItems → Delete related item

AI-generated

Summary

Delete a related item by its ID using the NinjaOne API's DELETE /v2/related-items/{relatedItemId} endpoint.

Inputs

  • Related Item Id (required) — The ID of the related item to delete.
  • Options — Optional settings including custom JSON body (deep-merged with other fields), custom HTTP headers, query-string filters, batching controls (items per batch and batch interval), debug flag to include request details in output, pagination settings (irrelevant for delete but available), and request timeout in milliseconds.

Output shape

a single JSON object representing the API response to the delete request, including any confirmation or error details; when debug is enabled, the output includes the request URL, headers, query parameters, and body sent.

The operation handles each input item as an individual delete request. Batching options control how many items are processed per batch and the wait time between batches to avoid rate limiting. Custom body, headers, and query filters allow fine control of the request. Pagination options and parameters exist but do not usually apply to a delete operation.

Links

Discussion