← All status codes

204

No Content

Success, and nothing to show for it. Perfect.

When to actually use it

A successful request with no body — often DELETE, or a PATCH where you don't echo the result.

Where people mess up

Returning 200 with `{}`. Just use 204 and let the silence speak.

The joke

The “handled it, nothing else to say” of the web. 204 is a successful text message with no reply.