---
title: "Reset one budget period"
method: POST
path: "/admin/budgets/reset-one"
tags: ["admin"]
---

# Reset one budget period

`POST /admin/budgets/reset-one`

## Request body

- AdminResetBudgetRequest
  - `period` string
  - `period_seconds` integer
  - `scope` string
  - `subject` string
  - `user_path` string

## Response `200`

OK

- AdminBudgetListResponse
  - `budgets` AdminBudgetStatusResponse[]
    - `amount` number
    - `created_at` string
    - `has_usage` boolean
    - `last_reset_at` string
    - `period_end` string
    - `period_label` string
    - `period_ratio` number
    - `period_seconds` integer
    - `period_start` string
    - `remaining` number
    - `scope` string
    - `source` string
    - `spent` number
    - `subject` string
    - `updated_at` string
    - `usage_ratio` number
    - `user_path` string
  - `server_time` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `503` — Service Unavailable

---

[API](https://skmtc.net/enterpilot/apis/gomodel-api.md) · [All operations](https://skmtc.net/enterpilot/apis/gomodel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enterpilot/gomodel-api/revisions/a9c84e4d4f3d/schema)
