---
title: "Store a name"
method: PUT
path: "/name"
tags: ["Name"]
---

# Store a name

`PUT /name`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/name`
- Auth: none declared
- TypeScript: <https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated/docs/name/put.ts> (a function with typed inputs; its response is checked against the schema)

Stores (or replaces) the name in the example table. The stored name is
returned in the response.

## Request body

- NameInfo
  - `name` string, required

## Response `200`

Name stored

- NameInfo
  - `name` string, required

## Other responses

- `400`: The request was not compliant with the documentation (eg. missing fields, etc)
- `500`: The server encountered an internal error. Further info in server logs

## Changes

- **2026-09-25** `d003dbf3b487`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated/changes/name/put.md)

---

[API](https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated.md) - [All operations](https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated/llms.txt) - [OpenAPI document](https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated/revisions/d003dbf3b487?raw)
