Remove completed restoration task

This function removes a single completed task from the restoration queue.

SecurityBasicAuth
Request
query Parameters
start_time
required
integer <unix_timestamp>

When the restoration queue started the restoration.

Example: start_time=1396065600
user
required
string <username>

The cPanel account's username.

Example: user=username
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/restore_queue_clear_completed_task
Request samples
whmapi1 --output=jsonpretty \
  restore_queue_clear_completed_task \
  user='username' \
  start_time='1396065600'
Response samples
application/json
{
  • "metadata": {
    • "command": "restore_queue_clear_completed_task",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}