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

CustomTabs → Get Role

AI-generated

Summary

Retrieve role information for a specified custom tab by providing the Tab Id and Role Id.

Inputs

  • Tab Id (required) — The numeric identifier of the custom tab to query.
  • Role Id (required) — The numeric identifier of the role associated with the custom tab.
  • Options — Optional settings including custom request body (JSON), custom HTTP headers, query-string filters, batching parameters, debug mode, pagination settings, and request timeout.

Output shape

a JSON object representing the role details associated with the specified tab, including any response metadata; debug information is optionally included if debug mode is enabled.

The operation requires Tab Id and Role Id as inputs. Optional query filters, headers, and body overrides can be provided. The API response may be paginated, and pagination behavior can be customized via options. If debug is enabled, the output includes request details for troubleshooting.

Examples

Example 1: Fetch role data for Custom Tab 123 and Role 456

Set Tab Id to 123 and Role Id to 456, optionally configure pagination and debug.

Links

Discussion