NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Actions120

System → Get Device Roles

AI-generated

Summary

Lists NinjaOne device roles by sending a GET request to /api/v2/roles. Choose an authentication method and configure its matching NinjaOne credentials.

Inputs

  • Authentication — Select OAuth2 (Authorization Code), the default, or Client Credentials. The matching credentials are required.

Output shape

A list of device role records, with each record returned as a separate n8n item.

The operation sends no filters or other query parameters. If the API returns a non-array response, it is returned as one item.

Links

Discussion