resetTokenBudget
POST/apis/cra.diagrid.io/v1beta1/projects/:ProjectId/tokenbudgets/:ProjectSubresourceId/reset
Reset a token budget's usage. Starts a new counting epoch for the budget: once the change reaches the dataplane, consumption in the current window restarts from zero and the reported utilization is absent until the budget next handles a request. The budget's spec is otherwise unchanged.
Request
Responses
- 202
- 404
- default
TokenBudget usage reset accepted for asynchronous processing.
TokenBudget not found.
Unexpected error.