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

# Update a label group

`PATCH /v1/workspaces/{workspaceId}/media/label-groups/{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/label-groups/{id}`
- Auth: HTTP bearer

## Path parameters

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

## Request body

- UpdateLabelGroupDto
  - `name` string
  - `color` string, nullable
  - `sortOrder` integer

## Response `200`

Label group updated

- object
  - `data` PublicLabelGroupDto, required
    - `id` string, uuid, required
    - `name` string, required
    - `color` string, nullable, required
    - `sortOrder` number, required
    - `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)
