Skip to main content

diagrid tokenbudget reset

Reset a token budget's usage for the current window

Description

Reset a token budget's usage. Consumption in the current window restarts from zero once the reset reaches the dataplane; the budget's limit, window, mode and scope are unchanged.

diagrid tokenbudget reset <name> [flags]

Examples

diagrid tokenbudget reset my-budget --project my-project

Options

-p, --project string Name of existing project
-w, --wait Wait until the reset has been applied by the dataplane
--approve Skip confirmation prompt
-y, --yes Skip confirmation prompt
-h, --help help for reset

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO