loot.tools
204

No Content

2xx Success

The request succeeded but there is no content to send back.

204 No Content means the request worked but there's deliberately nothing in the body. It's common after a successful DELETE, or for a PUT that doesn't need to echo data back. Clients should not expect a body and shouldn't try to parse one.

What 204 looks like on the wire

DELETE /api/sessions/current HTTP/1.1
Host: api.example.com

HTTP/1.1 204 No Content

About 2xx Success

The request was received, understood, and accepted. This is what you want to see.

Where it's defined

204 No Content is defined in RFC 9110 §15.3.5. MDN's 204 reference covers browser behavior and examples.

Looking for a different one? See the full HTTP status code reference.