Skip to main content
PATCH
To set an unlimited override for a user group, use creditLimit: null. This is distinct from having the user group follow the organization’s user group default.

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Body

application/json
userGroups
object[]
required

User groups to update. Each entry has a userGroupId plus exactly one of creditLimit (number or null) or useDefaultLimit: true.

Required array length: 1 - 1000 elements

Response

All entries applied. Returns each user group's effective limit, in request order.

userGroups
object[]
required