Skip to main content
POST
cURL
This replaces all the data of the database. A copy of the database as it is is taken first.

Authorizations

Authorization
string
header
required

Your CamposCloud API token, sent as Authorization: Bearer <token>.

Path Parameters

databaseId
string
required

ID of the database.

Pattern: ^[a-f0-9]{24}$
backupId
string
required

ID of the backup.

Pattern: ^[a-f0-9]{24}$

Body

application/json
confirm
string
required

The database's name, exactly.

Example:

"loja"

Response

The restore started.