HTTP 204 — No Content

The server successfully processed the request but is not returning any content

When to use it

Use status 204 when this is the correct HTTP response semantic: The server successfully processed the request but is not returning any content

Request and response example

DELETE /users/42 HTTP/1.1
Host: api.example.com

HTTP/1.1 204 No Content

Related status codes

200, 201, 202, 203

References

MDN · RFC 9110