v1
latestOpenAPI 3.1.02026-07-13154170539.0 KBOrganizations
Set Member Spending Limit
Set the monthly spending limit for a member within an organization.
This limit controls how much the member can spend when using the org's API key. It is separate from the user's personal spending limit (which applies to their personal API key).
The member limit cannot exceed the organization's limit. When the limit is lowered, assistant limits owned by this member that exceed the new limit will be automatically capped.
put/v0/organizations/{organization_id}/members/{member_user_id}/spending-limit
Path parameters
organization_idinteger required
member_user_idstring required
Request body
Example request
{
"monthly_spending_cap": 100
}Response
Member spending limit set successfully
Example response
{
"monthly_spending_cap": 100
}