---
title: "Update attribute group"
method: PATCH
path: "/v1/attribute-groups/{groupId}"
tags: ["Attribute groups"]
---

# Update attribute group

`PATCH /v1/attribute-groups/{groupId}`

## Request

- Base URL: `https://sandbox.pismolabs.io/rules`
- URL: `https://sandbox.pismolabs.io/rules/v1/attribute-groups/{groupId}`
- Auth: HTTP bearer

Update the `values` field in an attribute group. All other attribute group fields are immutable.

## Path parameters

- `groupId` string, required

## Request body

- object: Attribute group values to update
  - `values` string[], required: Attribute group values - Each value must be unique within the array - Maximum of 20,000 items - Each item must not exceed 15 characters

## Response `204`

No content

## Other responses

- `400`: Bad request. Validation error on request.
- `404`: Not found. The attribute group was not found.

---

[API](https://skmtc.dev/pismo/apis/core-platform-flex-controls.md) - [All operations](https://skmtc.dev/pismo/apis/core-platform-flex-controls/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/core-platform-flex-controls/revisions/f6ad29885c69?raw)
