Skip to main content
PUT
/
process-definition
/
key
/
{key}
/
history-time-to-live
Update History Time to Live
curl --request PUT \
  --url http://{host}:{port}/{contextPath}/process-definition/key/{key}/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

key
string
required

The key of the process 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.