---
title: "POST /v0/vms/replace"
method: POST
path: "/v0/vms/replace"
tags: ["VMs"]
---

# POST /v0/vms/replace

`POST /v0/vms/replace`

## Request body

- VmorchPostReplaceRequest
  - `vm_id` string, required

## Response `200`

- VmorchPostReplaceResponse
  - `replaced` string, required
  - `replaced_by` string, required

## Other responses

- `400`
- `401`
- `404`
- `500`

---

[API](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation.md) · [All operations](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sfcompute/san-francisco-compute-documentation/revisions/93dd7661e9bb/schema)
