Skip to main content
apiguide.dev

HTTP 204 — No Content

The request was successful, but the response body is intentionally empty.

Status CodeHTTP 204
CategorySuccess (2xx)
API Error Subtypes0 error schemas
HTTP Headers6 headers

What does HTTP status code 204 mean?

The 204 No Content status code indicates that the server successfully processed the request, but there is no payload to return in the response body.

When to use it in APIs

Standard response for successful DELETE operations. Can also be used for POST or PUT requests (e.g., checking in, triggering a simple webhook, or saving settings) where returning the resource representation is unnecessary.

How it compares to other codes

  • 200 OK: Used when the response contains a representation of the resource.
  • 205 Reset Content: Similar to 204 but instructs the client’s user interface to reset the form or view.

Specific API Error Types for 204

No specific Problem+JSON schemas have been defined for HTTP 204 on apiguide.dev yet.

Associated HTTP Headers

Related HTTP Status Codes