Skip to main content
PATCH
Update groups and membership
Requires groups:write. See the groups and membership guide for behavior and examples.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Optional retry key, unique within the selected program. Reuse the same key, method, path and validated payload; a conflicting reuse returns 409.

Required string length: 8 - 200
Pattern: ^[\x21-\x7e]+$
X-Program-Id
string

Select the key's original program or a program provisioned by this exact key. Other owned programs remain inaccessible.

Path Parameters

id
string
required

Body

application/json
name
string
Required string length: 1 - 100
color
string
default:#6366f1
Pattern: ^#[0-9a-fA-F]{6}$
defaultCommissionPlanId
string | null
Required string length: 1 - 200

Response

Success; see management guide for state and accounting semantics

Last modified on October 23, 2026