---
title: "Set host name"
method: PUT
path: "/api/session/setName"
tags: ["session"]
---

# Set host name

`PUT /api/session/setName`

Set host name

## Request body

- object
  - `name` string, required — Display name

## Response `200`

Successful response

- boolean

## Other responses

- `400` — Validation error
- `500` — Internal server error

---

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