Schedules asynchronous history cleanup (See History cleanup).
Note: This endpoint will return at most a single history cleanup job.
Since version 7.9.0 it is possible to configure multiple
parallel history cleanup jobs. Use
GET /history/cleanup/jobs
to find all the available history cleanup jobs.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
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 successful.
The id of the job.
The id of the associated job definition.
The date on which this job is supposed to be processed.
The id of the process instance which execution created the job.
The specific execution id on which the job was created.
The id of the process definition which this job belongs to.
The key of the process definition which this job belongs to.
The number of retries this job has left.
The message of the exception that occurred, the last time the job was executed. Is null when no exception occurred.
The id of the activity on which the last exception occurred, the last time the job was executed. Is null when no exception occurred.
A flag indicating whether the job is suspended or not.
The job's priority for execution.
The id of the tenant which this job belongs to.
The date on which this job has been created.
The ID of the batch associated with this job. null if no batch is associated with this job. The
following jobs are associated with batches: