Skip to main content
PUT
Update a user-group

Authorizations

Authorization
string
header
required

Bearer token obtained from POST /api/v1.1/auth/token.

Headers

Idempotency-Key
string

Any string unique to this logical request. On a retry with the same key and the same request body, the original response is replayed verbatim (with an Idempotency-Replayed: true response header) instead of the action repeating. Reusing the key with a different body or on a different route returns 409 IDEMPOTENCY_KEY_REUSED. A replay attempted while the original call is still in flight returns 409 CONFLICT. Optional — omit it and the endpoint behaves exactly as it would otherwise.

Example:

"a1b2c3d4-idem-key-001"

Path Parameters

name
string
required

Exact match, case-sensitive. Not renamable.

Example:

"Engineering"

Body

application/json
spendLimit
number
Required range: x >= 0
dataQuota
number
Required range: x >= 0
currency
string
Maximum string length: 10
dataUnit
enum<string>
Available options:
KB,
MB,
GB

Response

Updated. Note: the response is a client-side merge of the pre-update group snapshot with the raw fields you sent, not a fresh read of the row after saving — omitted fields echo the prior stored value, and fields you sent are echoed back as-submitted rather than re-read from the database.