---
title: "PATCH /accounts/{accountId}/labels/{labelId}"
method: PATCH
path: "/accounts/{accountId}/labels/{labelId}"
tags: ["accounts"]
---

# PATCH /accounts/{accountId}/labels/{labelId}

`PATCH /accounts/{accountId}/labels/{labelId}`

Updates a label.

## Path parameters

- `accountId` string, required
- `labelId` string, required

## Request body

- AccountLabel — Label assigned by CSS domain or CSS group to one of its sub-accounts.
  - `name` string — The display name of this label.
  - `labelId` string, int64 — Output only. The ID of the label.
  - `accountId` string, int64 — Immutable. The ID of account this label belongs to.
  - `description` string — The description of this label.
  - `labelType` 'LABEL_TYPE_UNSPECIFIED' | 'MANUAL' | 'AUTOMATIC' — Output only. The type of this label.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/content.md) · [All operations](https://skmtc.net/google/apis/content/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/content/versions/1033388fc86f/schema)
