db
Restore database backup
Changed onRestores the database from a previously downloaded backup file. 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 restore.
post/db/restore
Request
- Base URLhttps://demo.evcc.io/api
- URLhttps://demo.evcc.io/api/db/restore
- 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 multipart/form-data
Response
Restore successful, instance is restarting
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking