team management

Reset Team Member Spend Fn

Reset a team member's tracked spend against their per-member budget.

A member's spend is tracked separately from both their own personal budget and the team's own budget (LiteLLM_TeamMembership.spend), so neither /user/update nor /team/update can clear it: this is the only endpoint that does. The cross-pod spend counter and cached membership reads are invalidated so the reset takes effect on the member's next request rather than waiting on the membership cache's TTL.

post/team/{team_id}/member/{user_id}/reset_spend

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/team/{team_id}/member/{user_id}/reset_spend
  • Auth: API key in header x-litellm-api-key

Path parameters

team_idstring required
user_idstring required

Request body

reset_tonumber required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.