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 → Deletes an account

AI-generated

Summary

Delete a billing account by its ID using the NinjaOne API endpoint DELETE /v2/billing/accounts/{id}.

Inputs

  • id (required) — The ID of the billing account to delete.
  • options — Optional settings including sending a custom JSON body merged with default fields, adding custom HTTP headers, applying query-string filters, configuring batching (items per batch and interval between batches), enabling debug output to include request details, and setting pagination parameters (though pagination is generally not applicable for a delete operation). Also includes the ability to specify request timeout.

Output shape

a single response object containing the HTTP response of the delete request, including status and any returned data if applicable; optionally includes debug information if enabled.

The operation performs an HTTP DELETE request to the account-specific URL. Optional parameters like custom body or headers can modify the request. The output includes debug details only if the debug option is enabled. Pagination options exist but do not affect this delete operation.

Links

Discussion