Set individual user groups' AI credit limits
Organization Admin permissions are required to use this endpoint.
Set individual AI credit limits for user groups in bulk. Each entry names a user group and either sets an individual limit or removes one so the user group follows the organization’s user group default. All entries are applied in a single transaction.
A user group’s limit applies to each member individually.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Body
User groups to update. Each entry has a userGroupId plus exactly one of creditLimit (number or null) or useDefaultLimit: true.
1 - 1000 elementsResponse
All entries applied. Returns each user group's effective limit, in request order.

