Put a backup back. Say what to restore with exactly one of items (only those items, such as one database or the DNS zone of one domain), paths (only some files or folders) or everything. The configuration item cannot be restored on its own (400): on its own it switches PHP and SSL off for the domains of the package.With everything the whole backup is restored: files (with the mail in them), databases and settings go back to how they were when the backup was made, and what was changed or added since is overwritten. That includes the domains of the package: a domain that was renamed after the backup was made gets its old name back.With paths, files are put back at the path they had when the backup was made. For a domain that was renamed since, that is the folder of its old name.A request that names none of the three, or a field this endpoint does not know, is refused (400), so a mistyped field never restores more than was meant.This cannot be undone. It runs as a background task: poll the poll_url until the status is done or failed. A large package can take a long time.Scope: hosting:critical.
Request
Authorization
API Key
Add parameter in header
API-key
Example:
API-key: ********************
or
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.