---
title: "Delete Test Visit"
method: POST
path: "/api/budget/test-utils/delete-visit"
tags: ["copilot_frontend", "copilot_budget", "copilot_budget_test_utils"]
---

# Delete Test Visit

`POST /api/budget/test-utils/delete-visit`

Delete a test visit by ID.
This endpoint is only available outside production.

## Request body

- DeleteVisitRequest
  - `budget_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api.md) · [All operations](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hogarsolar/hogarsolar-backend-api/revisions/d9861e46bef8/schema)
