Reset a token budget
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
- 401
- 403
- 404
- default
TokenBudget usage reset accepted for asynchronous processing.
Authentication failed: the credentials are missing or not valid, or the x-diagrid-orgid header names a different organization than the credentials.
You are not authorized to perform this action.
TokenBudget not found.
Unexpected error.