---
title: "Update a campaign group"
method: POST
path: "/v1/campaign-groups/{campaignGroupId}"
tags: ["Campaign groups"]
---

# Update a campaign group

`POST /v1/campaign-groups/{campaignGroupId}`

Update a campaign group's name or description. At least one field must be provided. The reserved "Unsorted" group cannot be edited.

## Request body

- UpdateGroupRequest — At least one field must be provided.
  - `name` string — The group name. Cannot be the reserved name "Unsorted".
  - `description` string — A description for the group.

## Response `200`

Campaign group updated.

- GroupResponse
  - `id` string, required — The ID of the group.
  - `name` string, required — The name of the group.
  - `description` string, required — The description of the group.
  - `createdAt` string, date-time, required — ISO 8601 timestamp for when the group was created.
  - `updatedAt` string, date-time, required — ISO 8601 timestamp for when the group was last updated.

## Other responses

- `400` — Invalid request body, reserved group name, or the Unsorted group cannot be edited.
- `401` — Invalid API key or content API not enabled for this team.
- `404` — Campaign group not found.
- `405` — Wrong HTTP request method.

## Changes

> 9 revisions in range; 1 not diffed.

- **2026-08-05** `74756bcb2e9e` — 1 info
  - api operation id `updateCampaignGroup` was added

[Change history](https://skmtc.dev/loops/apis/loops-openapi-spec/changes/v1/campaign-groups/:campaignGroupId/post.md)

---

[API](https://skmtc.dev/loops/apis/loops-openapi-spec.md) · [All operations](https://skmtc.dev/loops/apis/loops-openapi-spec/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loops/loops-openapi-spec/revisions/8bd0098300ec/schema)
