Skip to main content
PATCH
Edit or archive a prompt group

Authorizations

x-chatobserver-key
string
header
required

A workspace API key. Data endpoints require a service-account key with the specified scopes.

Headers

Idempotency-Key
string

Required for MCP writes. Reuse for retries only. Membership requests require the same UUID in the body and this header.

Maximum string length: 255

Path Parameters

id
integer
required

Numeric group ID returned by the groups API.

Required range: x >= 1

Body

application/json
expectedRevision
integer
required
Required range: x <= 9007199254740991
name
string
Required string length: 1 - 150
description
string | null
Maximum string length: 2000
colorHex
string | null
Pattern: ^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$
groupType
enum<string> | null
Available options:
funnel_stage,
intent,
brand,
product,
audience,
geography,
campaign,
custom
parentGroupId
integer | null
Required range: 0 < x <= 9007199254740991
archived
boolean

Response

Successful group operation.

data
object
required