Description

This function removes successfully completed tasks from the restoration queue.

Examples 


https://hostname.example.com:2087/cpsess##########/json-api/restore_queue_clear_all_completed_tasks?api.version=1
https://hostname.example.com:2087/cpsess##########/xml-api/restore_queue_clear_all_completed_tasks?api.version=1
whmapi1 restore_queue_clear_all_completed_tasks

{
  "metadata": {
    "version": 1,
    "reason": "OK",
    "result": "1",
    "command": "restore_queue_clear_all_completed_tasks"
  }
}
<result>
    <metadata>
        <version>1</version>
        <reason>OK</reason>
        <result>1</result>
        <command>restore_queue_clear_all_completed_tasks</command>
    </metadata>
</result>

   

Parameters

This function does not accept parameters.

Returns

This function only returns metadata.