Restore backup
POST/v1/backups/restore
DESTRUCTIVE: restores a backup into the workspace of the call (X-Workspace-Id), rewriting portal users matched by e-mail/public id. Send backup_id (a completed backup of this organization — its file is copied) OR file_name (.zip) + content_base64 (bounded by the 2 MB request limit). Requires settings.update and access to every workspace. Asynchronous: 202; follow it on GET /backups/{id} and cancel with /cancel.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Restore queued (a restore record).
Missing body, invalid JSON or incompatible fields.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.