Update history time to live

Updates history time to live for decision definition. The field is used within History cleanup.


PUT /decision-definition/{id}/history-time-to-live

PUT /decision-definition/key/{key}/history-time-to-live (updates the latest version of the decision definition which belongs to no tenant)

PUT /decision-definition/key/{key}/tenant-id/{tenant-id}/history-time-to-live (updates the latest version of the decision definition for tenant)


Path Parameters

Name Description
id The id of the decision definition to change history time to live.

Request Body

A JSON object with the following properties:

Name Description
historyTimeToLive New value for historyTimeToLive field of decision definition. Can be null. Can not be negative.


This method returns no content.

Response Codes

Code Media type Description
204 Request successful.
400 application/json Returned if some of the request parameters are invalid.
404 application/json Decision definition with given id does not exist. See the Introduction for the error response format.



PUT /decision-definition/aDecisionDefinitionId/history-time-to-live

      "historyTimeToLive" : 5


Status 204. No content.

On this Page: