---
title: "Perform an action on the target VCH"
method: POST
path: "/target/{target}/vch/{vchId}"
tags: ["not-yet-implemented"]
---

# Perform an action on the target VCH

`POST /target/{target}/vch/{vchId}`

A `POST` request on a VCH resource with an action of `upgrade` will initiate an upgrade of the VCH. The body of the request will be a JSON object containing the following optional properties: `bootstrap-iso` (a reference to a known bootstrap ISO on the OVA) and `rollback` (a boolean value).

## Path parameters

- `target` string, required
- `vchId` string, required

## Query parameters

- `action` 'debug' | 'upgrade', required
- `thumbprint` string

## Response `202`

A vSphere task for work that is occurring asynchronously, or null if the operation is complete.

- object
  - `task` string, uri

## Other responses

- `default` — An error occurred

## Changes

- **2018-06-18** `b8b5b3801ae2` — 1 info
  - api tag `not-yet-implemented` added
- **2017-07-12** `7a99cfe3f0d8` — 1 info
  - api tag `not-yet-implemented` removed

[Change history](https://skmtc.dev/vmware/apis/vic-machine-api/changes/target/:target/vch/:vchId/post.md)

---

[API](https://skmtc.dev/vmware/apis/vic-machine-api.md) · [All operations](https://skmtc.dev/vmware/apis/vic-machine-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vmware/vic-machine-api/revisions/022f4170e516/schema)
