---
title: "Set the tab visibility of the specified tab"
method: PATCH
path: "/v2/tab/role/{roleId}/visibility"
tags: ["Custom Tabs"]
---

# Set the tab visibility of the specified tab

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

Using this API it is possible to configure tabs to be hidden for roles and their children

## Path parameters

- `roleId` integer, required

## Request body

- object[]
  - `tabId` integer
  - `hidden` boolean

## Response `200`

Returns a list of the affected tabs (as CustomTabLabelPublicApiDTO) with updated visibility 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/revisions/753f26d46650/schema)
