---
title: "PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/expand-vm-spec"
method: PUT
path: "/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/expand-vm-spec"
---

# PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/expand-vm-spec

`PUT /apis/subresources.kubevirt.io/v1/namespaces/{namespace}/expand-vm-spec`

Expands instancetype and preference into the passed VirtualMachine object.

## Response `200`

OK

- string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/kubevirt/apis/kubevirt-api.md) · [All operations](https://skmtc.net/kubevirt/apis/kubevirt-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kubevirt/kubevirt-api/revisions/92b7a06a6406/schema)
