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

SoftwareLicenses → Update a Software License

AI-generated

Summary

Update an existing software license in NinjaOne by specifying the license ID along with required details such as name, description, type, purchase date, publisher and vendor IDs, scope, quantity, current usage, term, and notification channel info. Optionally provide additional fields like assignment settings, assigned/unassigned licenses, notes, cost information, usage monitoring, and custom request options.

Inputs

  • licenseId (required) — The ID of the software license to update.
  • name (required) — The name of the software license.
  • description (required) — A description for the software license.
  • type (required) — The type of the software license; options include 'PER DEVICE', 'PER USER', or 'CUSTOM'.
  • purchaseDate (required) — The purchase date of the software license in Unix epoch milliseconds.
  • publisherId (required) — Identifier of the publisher.
  • vendorId (required) — Identifier of the vendor.
  • scope (required) — The scope of the software license as a JSON object.
  • quantity (required) — The quantity of the software license.
  • currentUsage (required) — The current usage count of the software license.
  • term (required) — The term details of the software license as a JSON object.
  • notificationChannelInfo (required) — Notification channel information as a JSON object.
  • additionalFields — Optional additional fields including assignment automation settings, assigned/unassigned licenses, note, cost mode, cost, and usage monitoring configurations as JSON or appropriate types.
  • options — Optional custom request options such as arbitrary body JSON, custom headers, query filters, batching settings, debug toggle, pagination configuration, and request timeout.

Output shape

a single updated software license record as returned by the NinjaOne API.

The response includes the updated software license data. Custom request options can influence the API request and response. Errors or API failures are returned according to NinjaOne API standards.

Links

Discussion