key management

Reset Key Spend Fn

post/key/{key}/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/key/{key}/reset_spend
  • Auth: API key in header x-litellm-api-key

Path parameters

keystring required

Headers

litellm-changed-bystring nullable

The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability

Request body

reset_tonumber required

Response

Successful Response

object required

Changes

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