---
title: "POST /v1/{+name}:updateLabels"
method: POST
path: "/v1/{+name}:updateLabels"
tags: ["accounts"]
---

# POST /v1/{+name}:updateLabels

`POST /v1/{+name}:updateLabels`

Updates labels assigned to CSS/MC accounts by a CSS domain.

## Path parameters

- `name` string, required

## Request body

- UpdateAccountLabelsRequest — The request message for the `UpdateLabels` method.
  - `parent` string — Optional. Only required when updating MC account labels. The CSS domain that is the parent resource of the MC account. Format: accounts/{account}
  - `labelIds` string[] — The list of label IDs to overwrite the existing account label IDs. If the list is empty, all currently assigned label IDs will be deleted.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/css.md) · [All operations](https://skmtc.dev/google/apis/css/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/css/revisions/22775d1d5e93/schema)
