# 204 No Content

> The request was successful, but the response body is intentionally empty.

Source: https://apiguide.dev/status-codes/204
Class: success
Defined in: RFC 9110, Section 15.3.5 <https://www.rfc-editor.org/rfc/rfc9110.html#section-15.3.5>
Updated: 2026-07-09

## What does HTTP status code 204 mean?

The 204 No Content status code indicates that the server successfully processed the request, but there is no payload to return in the response body.

## When to use it in APIs

Standard response for successful `DELETE` operations. Can also be used for `POST` or `PUT` requests (e.g., checking in, triggering a simple webhook, or saving settings) where returning the resource representation is unnecessary.

## How it compares to other codes

* **200 OK**: Used when the response contains a representation of the resource.
* **205 Reset Content**: Similar to 204 but instructs the client's user interface to reset the form or view.
