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 → Update the order of custom tabs for a specific role

AI-generated

Summary

Update the order of custom tabs associated with a specified role by sending an ordered array of items to the API endpoint.

Inputs

  • Role Id (required) — Numeric ID of the role for which to update the custom tabs' order.
  • Items (required) — JSON array representing the new order of custom tabs.
  • Options — Optional settings including custom request body (merged with main parameters), custom HTTP headers, query filters, batching parameters, debug flag, pagination preferences, and request timeout.

Output shape

a JSON object representing the API response, including confirmation or details of the updated custom tab order for the role

The output may include debug information if enabled, showing request details. Custom body fields override the main parameters in the request. Batching settings control request grouping if multiple inputs are provided.

Examples

Example 1: Change custom tab order for a role with ID 15

Set Role Id to 15, provide the new ordered array in Items, and optionally configure custom headers or debugging.

Links

Discussion