---
title: "Update a workspace label for media"
method: PATCH
path: "/v1/workspaces/{workspaceId}/media/labels/{id}"
tags: ["Media"]
---

# Update a workspace label for media

`PATCH /v1/workspaces/{workspaceId}/media/labels/{id}`

## Request

- Base URL: `https://api.maevesocial.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maevesocial.com/v1/workspaces/{workspaceId}/media/labels/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required
- `workspaceId` string, uuid, required

## Request body

- UpdateLabelDto
  - `name` string
  - `color` string, nullable
  - `groupId` string, uuid, nullable

## Response `200`

Workspace label updated

- object
  - `data` PublicMediaLabelDto, required
    - `id` string, uuid, required
    - `name` string, required
    - `color` string, nullable, required
    - `groupId` string, uuid, nullable
    - `archivedAt` string, nullable
    - `mergedIntoLabelId` string, uuid, nullable
    - `mergedAt` string, nullable
    - `mergedByUserId` string, uuid, nullable
    - `createdAt` string, required
    - `updatedAt` string, required
  - `meta` unknown, required

---

[API](https://skmtc.dev/maevesocial/apis/maeve-social-api.md) · [All operations](https://skmtc.dev/maevesocial/apis/maeve-social-api/llms.txt) · [OpenAPI document](https://skmtc.dev/maevesocial/apis/maeve-social-api/revisions/1b00fd7e4b15?raw)
