Skip to main content

Set the container update settings

PUT 

/settings/apps

Required role: admin. Only an account or token with the admin role can call this operation.

Example request
curl --request PUT \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
--header "Content-Type: application/json" \
--data @body.json \
"https://$HOSERVA_HOST:8008/api/v1/settings/apps"

Sets how many days the image a container ran before an update is kept for a revert, from 1 to 365. It applies to updates made afterwards; an update already made keeps the deadline it was made with.

Request​

Responses​

The updated settings.