--- title: "Switch partition on the Appliance for completing upgrade." slug: "switch-partition-on-the-appliance-for-completing-upgrade-1" updated: 2026-03-02T22:30:52Z published: 2026-03-02T22:35:55Z canonical: "support.appgate.com/switch-partition-on-the-appliance-for-completing-upgrade-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.appgate.com/llms.txt > Use this file to discover all available pages before exploring further. # Switch partition on the Appliance for completing upgrade. Post/appliances/{id}/upgrade/switch-partition Reboot and switch partition on the appliance to finalize the Upgrade. "GET appliances//upgrade" must return "status":"success" before accepting the complete command. Since the appliance will be rebooted, the status cannot be queried directly. The Upgrade Script utilizes the Appliance Status dashboard APIs to verify the status after this. SecurityHTTPType bearer Path parametersidstring (uuid) Required ID of the object. Example12699e27-b584-464a-81ee-5b4784b6d425 Responses202 Appliance accepted the request and it's enabling/disabling maintenance mode. object Appliance change id for the result of the maintenance mode idstring Id for this change 400 JSON error. Check the JSON format. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 401 Token error. Login again. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 403 Insufficient permissions to access this resource. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 404 The requested resource can not be found. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 406 Invalid 'Accept' header. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 412 Appliance is not in the right state for this operation. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 500 Unexpected server side error. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details.