---
title: "Reset database"
method: POST
path: "/db/reset"
tags: ["db"]
---

# Reset database

`POST /db/reset`

Selectively deletes sessions, settings and/or remote access data from the database. Session users must supply the admin password in the X-Admin-Password header. API key holders via Bearer token are exempt. The instance restarts after a successful reset.

## Headers

- `X-Admin-Password` string — Admin password

## Request body

- object
  - `sessions` boolean — Delete all charging sessions
  - `settings` boolean — Delete all settings, configs, and meters
  - `remote` boolean — Delete remote access configuration and registered clients

## Response `204`

Reset successful, instance is restarting

## Other responses

- `401` — Unauthorized - Login and try again

## Changes

- **2026-08-24** `5152af83a070` — 1 info
  - added the new optional request property `remote`
- **2026-06-06** `0e65ec723370` — 1 info
  - endpoint added
- **2025-08-01** `2429e9297a5c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/evcc-io/apis/evcc/changes/db/reset/post.md)

---

[API](https://skmtc.dev/evcc-io/apis/evcc.md) · [All operations](https://skmtc.dev/evcc-io/apis/evcc/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/evcc-io/evcc/revisions/5152af83a070/schema)
