POST
/
servers
/
{server}
/
backups
/
{backup}
/
restore
Restore backup
curl --request POST \
  --url https://dashboard.gratian.pro/api/client/servers/{server}/backups/{backup}/restore \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "truncate": true
}'
[
  "<string>"
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

server
string
required

The server UUID

backup
string
required

The backup UUID

Body

application/json

Response

204
application/json

No content

The response is of type string[].