204
2xxSEO: neutralRFC 9110
HTTP 204 No Content
The server fulfilled the request but has no content to return.
Indexable by Google
No
Link equity passed
No
SEO Impact
Neutral
Category
2XX
SEO Impact
204 returns no body. If Googlebot receives a 204 for a page URL, it will not index the page. Reserve 204 for API endpoints (e.g., DELETE, PATCH) where no response body is needed.
When to Use 204
Use for DELETE, OPTIONS preflight, or PATCH requests where the operation succeeded but there is nothing to return.
HTTP Response Example
HTTP/1.1 204 No Content
Test with cURL
$ curl -X DELETE https://api.example.com/items/1