---
title: "Write an account or machine setting"
method: PUT
path: "/settings/{key}"
---

# Write an account or machine setting

`PUT /settings/{key}`

## Request

- Base URL: `https://worker.openhelm.ai/v1`
- URL: `https://worker.openhelm.ai/v1/settings/{key}`
- Auth: HTTP bearer

## Request body

- object
  - `value` string, required
  - `executor_id` string: Required for a machine-scoped key; omit for an account-wide one.

## Response `200`

OK

---

[API](https://skmtc.dev/openhelm/apis/openhelm-public-api.md) · [All operations](https://skmtc.dev/openhelm/apis/openhelm-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openhelm/apis/openhelm-public-api/revisions/2af88dc2f6a7?raw)
