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

Billing → Deactivates a product

AI-generated

Summary

Deactivate a billing product by its Product ID using a PATCH request to the NinjaOne API endpoint /v2/billing/products/{id}/deactivate.

Inputs

  • id (required) — The unique numeric Product ID of the billing product to deactivate.
  • options — Optional parameters including custom JSON body to merge with the request, custom HTTP headers, query string filters, batching settings, debug mode to include request details in output, pagination configuration for list operations, and request timeout in milliseconds.

Output shape

a JSON object representing the response from the API indicating the result of the deactivate operation for the specified product.

The response shape depends on the NinjaOne API's PATCH /v2/billing/products/{id}/deactivate endpoint. If debug mode is enabled, the output includes an additional debug entry with full request details. Supports sending additional custom headers and body content merged into the request. Batching options apply if multiple input items are processed, making one request per item.

Links

Discussion