---
title: "Update Group"
method: PATCH
path: "/groups/{id}"
tags: ["Property"]
---

# Update Group

`PATCH /groups/{id}`

Update a property group. Pass `name` to rename it; pass `property_ids` to **replace** the group's full property assignment with the supplied list (pass an empty array to detach all properties). Omitted fields are left unchanged.

## Path parameters

- `id` integer, required

## Request body

- object
  - `name` string — New display name. Must remain unique within the operator's account.
  - `property_ids` integer[] — Replaces the group's property list with the given ids (each must belong to the operator). Empty array detaches all.

## Response `200`

- CommonResponse
  - `request_id` string, required — Unique identifier for the request.
  - `error_code` integer, required — Numeric error code representing the status of the response. A value of `200` indicates success. <br> See the [Error Codes](/reference/error-manual#error-codes) section for more information.
  - `error_msg` string, required — Message detailing the status of the response.

---

[API](https://skmtc.net/hostex/apis/hostex-api.md) · [All operations](https://skmtc.net/hostex/apis/hostex-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostex/hostex-api/revisions/a3fa555dee66/schema)
