---
title: "Update a Market Segmentation Group."
method: PATCH
path: "/market-segmentation/v1/groups/{id}"
tags: ["Market Segmentation"]
---

# Update a Market Segmentation Group.

`PATCH /market-segmentation/v1/groups/{id}`

## Path parameters

- `id` Id, required — unresolved $ref

## Headers

- `x-property-id` string, required

## Request body

- GroupUpdateRequestSchema
  - `id` string, required — Group ID.
  - `name` string, required — Group name.
  - `code` string, required — Group code.
  - `description` string, required — Group description.

## Response `200`

Updated Market Segmentation Group.

- GroupResponseSchema
  - `id` string
  - `name` string
  - `code` string
  - `description` string
  - `canEdit` string[]
  - `canDelete` boolean
  - `canDisable` boolean
  - `createdAt` string, Y-m-d\TH:i:sP
  - `updatedAt` string, Y-m-d\TH:i:sP, nullable

## Other responses

- `400` — Bad request response.
- `403` — Forbidden response.
- `404` — Not found response.
- `500` — Internal server error.

---

[API](https://skmtc.dev/cloudbeds/apis/cloudbeds-api.md) · [All operations](https://skmtc.dev/cloudbeds/apis/cloudbeds-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudbeds/cloudbeds-api/revisions/2faa857793e8/schema)
