db
Reset database
Changed onSelectively 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.
post/db/reset
Request
- Base URLhttps://demo.evcc.io/api
- URLhttps://demo.evcc.io/api/db/reset
- Auth
- API key in cookie auth
- or HTTP bearer
Headers
X-Admin-Passwordstring
Admin password
Admin password (required for session auth, not needed for API key)
Request body
Response
Reset successful, instance is restarting
Changes
- info
added the new optional request property
- info
- info
endpoint added
- info