---
title: "Update a machine"
method: PATCH
path: "/services/beta/api/users/{leafUserId}/machines/{machineId}"
tags: ["Beta > Machines"]
---

# Update a machine

`PATCH /services/beta/api/users/{leafUserId}/machines/{machineId}`

## Path parameters

- `leafUserId` string, required
- `machineId` string, required

## Request body

- object
  - `name` string

## Response `200`

OK

---

[API](https://skmtc.net/withleaf/apis/leaf-api.md) · [All operations](https://skmtc.net/withleaf/apis/leaf-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/withleaf/leaf-api/versions/ee7a2a2053e2/schema)
