---
title: "Update Card Hierarchy Group"
method: PATCH
path: "/v1/card-hierarchies/{cardHierarchyId}/groups/{groupId}"
tags: ["Card Hierarchy Group Management"]
---

# Update Card Hierarchy Group

`PATCH /v1/card-hierarchies/{cardHierarchyId}/groups/{groupId}`

This operation updates the details of a specific group within a card hierarchy, such as its name.

## Path parameters

- `cardHierarchyId` string, biginteger, required
- `groupId` string, biginteger, required

## Query parameters

- `auditUser` string, required

## Request body

- UpdateCardHierarchyGroupV1Request
  - `name` string — Name of the group
  - `parentId` string, biginteger — Id of the parent group

## Response `200`

Successful update of the card hierarchy group

- CardHierarchyGroupV1
  - `id` string, biginteger, required — Generated id of the group
  - `name` string, required — Name of the group
  - `parentId` string, biginteger — Id of the parent group
  - `type` 'ROOT' | 'INTERMEDIATE' | 'CARD', required — Type of the group

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

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