---
title: "Update the order of custom tabs for a specific role"
method: PATCH
path: "/v2/tab/role/{roleId}/order"
tags: ["Custom Tabs"]
---

# Update the order of custom tabs for a specific role

`PATCH /v2/tab/role/{roleId}/order`

Update the order of custom tabs for a specific role. NOTE: Only tabs created on this role can be ordered. All tabs defined on the role must be specified in the payload

## Path parameters

- `roleId` integer, required

## Request body

- object[]
  - `tabId` integer
  - `position` integer

## Response `200`

Returns a list of the affected tabs (as CustomTabLabelPublicApiDTO) with updated order data

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/versions/753f26d46650/schema)
