---
title: "Edit a Virtual Machine's name"
method: PATCH
path: "/vm/{rid}/name"
tags: ["VM"]
---

# Edit a Virtual Machine's name

`PATCH /vm/{rid}/name`

Update the name of a virtual machine by its RID

## Path parameters

- `rid` integer, required

## Request body

- InternalHandlersVmVMEditNameRequest
  - `name` string, required

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseAny
  - `data` unknown
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

## Changes

- **2026-08-12** `9a5026bf9057` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/alchemillahq/apis/sylve-api/changes/vm/:rid/name/patch.md)

---

[API](https://skmtc.dev/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.dev/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/revisions/b7a0c0d622eb/schema)
