NAV Navigation
Shell HTTP JavaScript Node.js Ruby Python Java Go PHP

Backup API v1.0.0

Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

Backup API for final user operations

Base URLs:

Default

post__undelete

Code samples

# You can also use wget
curl -X POST https://mail.example.com/zx/backup/v1/undelete \
  -H 'Accept: application/json'

POST /undelete

Undeletes account emails, getting them from the backup

Parameters

Name In Type Required Description
ZX_AUTH_TOKEN cookie string true none
start query string(date-time) false none
end query string(date-time) false none

Example responses

202 Response

{
  "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969"
}

Responses

Status Meaning Description Schema
202 Accepted Undelete operation started UndeleteResponse
400 Bad Request Account not found None
403 Forbidden Access denied, no authentication token provided None
500 Internal Server Error Internal server error None

Schemas

UndeleteResponse

{
  "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969"
}

Properties

Name Type Required Restrictions Description
operationId string(uuid) true none id of the operation that undeletes the emails