---
title: "Update a tag group"
method: PATCH
path: "/tag-groups/{tagGroupId}"
tags: ["Tag Groups"]
deprecated: true
---

# Update a tag group

`PATCH /tag-groups/{tagGroupId}`

> **Deprecated.**

## Path parameters

- `tagGroupId` string, required

## Request body

- UpdateTagGroupRequest
  - `name` string — This is the tag group name supplied on create
  - `tagAttributes` object[] — These are the attributes that define a tag in this tag group
    - `id` string, required — This is the internal pleo identifier of the tag group
    - `name` string — This is the tag group name
    - `displayOrder` number — This number specifies the order in which these attributes are displayed in pleo.
    - `hidden` boolean — This flag specifies the attribute used as a display value for the customer when applying the tag on an expense.
  - `archived` boolean — This flag specifies whether the tag group has been archived in the pleo system or not

## Response `200`

Tag group has been updated

- TagGroupResponse
  - `id` string, required — This is the internal pleo identifier of the tag group
  - `name` string, required — This is the tag group name supplied on create
  - `tagAttributes` object[], required — These are the attributes that define a tag in this tag group, i.e. the tag columns. Each tag column is included only once.
    - `id` string, required — This is the internal pleo identifier of the tag group
    - `name` string, required — This is the tag group name supplied on create
    - `displayOrder` number, required — This number specifies the order in which these attributes are displayed in pleo.
    - `hidden` boolean, required — This flag specifies the column used as a display value for the customer when applying the tag on an expense. Non-hidden column values will be concatenated and used as the display
  - `archived` boolean, required — This flag specifies whether the tag group has been archived in the Pleo system or not

## Other responses

- `401` — request unauthorized
- `403` — Request forbidden; user has insufficient rights to a resource.
- `404` — route not found
- `500` — Something went wrong. Please contact the administrator if problems persist.

---

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