Actions89
- Alert Actions
- Backup Actions
- Custom Field Actions
- Device Actions
- Document Template Actions
- Group Actions
- Knowledge Base Article Actions
- Location Actions
- Organization Actions
- Organization Document Actions
- Query Actions
- Related Item Actions
- System Actions
- Ticketing Actions
- User Actions
- Webhook Actions
System → Get Device Roles
AI-generatedSummary
Retrieve a list of device roles defined in the NinjaOne system via an authenticated API request.
Inputs
- Authentication (required) — Select the authentication method for the request: OAuth2 Authorization Code or Client Credentials.
Output shape
a list of device role objects
Returns an array of device role records from NinjaOne with no additional pagination parameters; handles authentication automatically based on user selection.
Examples
Example 1: List all device roles available in the NinjaOne account
No additional input fields besides selecting the Authentication method are required for this operation.
