Skip to main content

Include or exclude a container from bulk updates

PUT 

/apps/:id/update-policy

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/apps/{id}/update-policy"

Sets whether startAppUpdates with no named containers skips this container. The policy is kept by container name. It does not stop the container being updated by name.

Request​

Responses​

The container's policy.