---
title: "Update a Custom Tab"
method: PATCH
path: "/v2/tab/{tabId}"
tags: ["Custom Tabs"]
---

# Update a Custom Tab

`PATCH /v2/tab/{tabId}`

Update a Custom Tab. This API can be used to either update existing tabs, or create tab 'role extensions' for existing tabs

## Path parameters

- `tabId` integer, required

## Request body

- object
  - `roleId` integer
  - `items` object[]
    - `itemType` 'ATTRIBUTE' | 'UI_ELEMENT' — Specifies whether this item is an ATTRIBUTE or a UI_ELEMENT
    - `id` integer — If the content item is an attribute, then this will be the id of that attribute otherwise this should be omitted
    - `name` string
    - `uiElementUid` string, uuid
    - `uiElementType` 'TITLE' | 'DESCRIPTION' | 'SEPARATOR'
    - `uiElementValue` string
    - `uiElementCreateTime` number, double
    - `uiElementUpdateTime` number, double
  - `position` integer

## Response `200`

The Custom Tab was successfully updated

## Other responses

- `404` — The Custom Tab could not be found

---

[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)
