# PUT

*noun*

say it: **“PUT”** **/pʊt/**

The HTTP method for replacing a whole resource with new values.

## What is **PUT**?

`PUT` replaces a resource with the one in the body. Send the whole thing: missing fields are treated as removed.

```text
PUT /recipes/42

{ "title": "Fluffy Pancakes", "minutes": 20, "vegetarian": true }
```

## In a sentence

- “A **PUT** to /api/products/7 replaced the product with the new values.”

Level: Apprentice · [More REST API terms at this level](https://www.ask-codey.com/glossary?category=rest-api&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/put
