Skip to main content
PUT
/
decision-definition
/
{id}
/
history-time-to-live
Update History Time to Live
curl --request PUT \
  --url http://{host}:{port}/{contextPath}/decision-definition/{id}/history-time-to-live \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "historyTimeToLive": 5
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

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

Body

application/json
historyTimeToLive
integer | null

New value for historyTimeToLive field of the definition. Can be null if enforceHistoryTimeToLive is configured to false. Cannot be negative.

Required range: x >= 0

Response

Request successful.