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 → Get Software License Assignments

AI-generated

Summary

Retrieve assignments for a specified software license in NinjaOne, optionally returning all available pages or a single page of results with support for pagination controls and additional query parameters.

Inputs

  • License Id (required) — The unique identifier of the software license whose assignments are to be retrieved.
  • Return All — Indicates whether to retrieve all pages of assignments or just a single page.
  • Additional Fields — Optional parameters to control pagination such as 'After', 'Before', and 'Page Size' for fine-tuning the slice of assignments returned.
  • Options — Includes custom request body data, custom HTTP headers, additional query-string filters, batching settings, debug mode for request inspection, pagination settings, and request timeout configuration.

Output shape

a list of software license assignment records

When 'Return All' is enabled, the output includes all pages aggregated according to the chosen pagination mode; otherwise, it includes only a single page. If debug is enabled, the response contains additional metadata about the HTTP request and response for troubleshooting.

Links

Discussion