The server successfully processed the request but has no content to send in the body.
Quick facts
When does it occur
The server successfully processed the request but has no content to send in the body.
It belongs to the 2xx Successful class of responses, defined in RFC7231#6.3.5.
Browse all codes in this class: 2xx Successful
Frequently asked questions
204 belongs to the 2xx Successful class and is usually cacheable per headers such as Cache-Control (e.g. 200, 301, 304).
2xx Successful: The server successfully processed the request but has no content to send in the body.
Sources & standards
Updated 2026-08-18
Explore this reference
Related status codes
Related headers
Related methods