NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Group → Get Many

AI-generated

Summary

Retrieve multiple group records from NinjaOne with optional limit on the number of groups returned.

Inputs

  • Authentication — Choose the authentication method: either OAuth2 (Authorization Code) or Client Credentials.
  • Return All — When enabled, fetches all groups without limiting the number of results.
  • Limit — Maximum number of groups to return when 'Return All' is disabled. Minimum value is 1; default is 50.

Output shape

a list of group objects representing the groups in NinjaOne.

If 'Return All' is true, all groups are returned via pagination; otherwise, results are limited to the 'Limit' parameter. The output is an array of group JSON objects.

Examples

Example 1: Retrieve up to 50 groups

Set 'Return All' to false (default) and 'Limit' to 50 (default).

Example 2: Retrieve all groups

Set 'Return All' to true to fetch all available groups without limit.

Links

Discussion