Infra APIDatabases
Restore from backup
Restores the database from the specified backup (destructive)
POST
/api/v1/databases/{db_id}/backups/{backup_id}/restoreRestores the database from the specified backup (destructive)
Authorization
BearerAuth AuthorizationBearer <token>
Supabase JWT Bearer token
In: header
Path Parameters
db_id*string
Database ID
backup_id*string
Backup ID
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/databases/string/backups/string/restore"{ "message": "string"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}