---
title: "Update"
method: PATCH
path: "/api/experience/group/{id}"
tags: ["Experience"]
---

# Update

`PATCH /api/experience/group/{id}`

## Request

- Base URL: `https://api.lytics.io`
- URL: `https://api.lytics.io/api/experience/group/{id}`
- Auth: API key in header `Authorization`

Updates an Experience Group record.

__Note__: When updating an existing Experience group you have the option of including either a set of nested Experiences or groups, not both, that belong to the new group. As a result, a prioritization record will be created in addition to each individual group or Experience itself being updated with the proper `parent_group_id` value. Likewise, passing an empty array __WILL REMOVE__ the ownership from the existing children. When no change is intended for nested Experiences or groups you should pass no value or null for both `experiences` and `child_groups`.

## Path parameters

- `id` string, required

## Query parameters

- `account_id` string

## Response `200`

OK

---

[API](https://skmtc.dev/lytics/apis/v1-lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/v1-lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/v1-lytics-api/revisions/339fd1d88486?raw)
