Keep the pending network configuration
POST/settings/network/confirm
Required role: admin. Only an account or token with the admin role can call this operation.
Example request
curl --request POST \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/settings/network/confirm"
Called over the new configuration during the confirm-or-revert window. Keeps the managed ifupdown file. An unreachable address cannot be confirmed because this request never arrives. After the window expires, or if the daemon died before confirm, the previous configuration has already been restored and this returns network_confirm_expired.
Responses
- 200
- default
Settings after confirm; pending is omitted.
An error response.