Clean up history (POST)

Schedules asynchronous history cleanup (See History cleanup).


POST /history/cleanup


Query Parameters

Name Description
immediatelyDue When true the job will be scheduled for nearest future. When false, the job will be scheduled for next batch window start time. Default is true.

Request Body

Not used


Result is not reliable any more

Be aware, that since v. 7.9.0, the correct response object is not guaranteed any more. Use GET /history/cleanup/jobs to find history cleanup jobs.

A JSON object representing scheduled job. See Get Job for the structure and example.

Response Codes

Code Media type Description
200 application/json Request successful.
400 application/json Returned if some of the query parameters are invalid or the engine does not participate in history cleanup. See Cleanup Execution Participation per Node.



POST /history/cleanup?immediatelyDue=false


    "createTime": "2017-04-01T09:45:15.039+0100"


On this Page: