Set custom role credit limit
This endpoint sets or clears the monthly credit limit of a custom role.
PUT
Set custom role credit limit
How does the limit apply to members?
How does the limit apply to members?
The limit applies to each member of the role individually and takes effect immediately: member allowances are recalculated while preserving credits already used in the current billing cycle. Send
"monthly_credit_limit": null to clear the role-level limit so members revert to the organization default. When a user belongs to multiple roles, the highest limit across their roles wins. Requests that do not change the stored value are no-ops. Changes are recorded in the organization audit trail.Authorizations
A personal API key or an OAuth 2.0 access token. Personal API keys also require the x-auth-key header with your user ID.
Path Parameters
Body
application/json
Response
The custom role with its updated credit limit