REST API
Infra APIDatabases

Reprovision a database's VM

POST/api/v1/databases/{db_id}/reprovision

Rebuilds the Firecracker VM for a database whose VM is gone, preserving the database ID, hostname and auth token. Restore a backup afterwards to recover data.

Authorization

BearerAuth
AuthorizationBearer <token>

Hydra JWT Bearer token

In: header

Path Parameters

db_id*string

Database ID

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/databases/string/reprovision"
{  "host": "string",  "latest_backup_id": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}