Put parts of a backup back (sites' files, databases, mail); returns the job to follow
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/backups/{bid}/restore may answer 202Put parts of a backup back (sites' files, databases, mail); returns the job to follow
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
bid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
object
partsarray<object> requiredkindstring requiredAllowed values:"site""database""mail"namestring required
Example
{
"parts": [
{
"kind": "site",
"name": "string"
}
]
}Responses
202 Restoring
Content type: application/json
object
job_idstring required
Example
{
"job_id": "string"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required