HTTP 2xx Success Status Codes/HTTP 204 No Content

Request succeeded with no response body

Section: HTTP 2xx Success Status Codes

HTTP 204 No Content

text
text
curl -i -X DELETE https://example.com/api/users/123
Explanation

Common for updates or deletes when no body is necessary. MDN notes it is cacheable by default.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing HTTP 2xx Success Status Codes
HTTP 200 OK
Request succeeded
OpenIn sheettextsame section
HTTP 201 Created
Resource created successfully
OpenIn sheettextsame section
HTTP 202 Accepted
Accepted for asynchronous processing
OpenIn sheettextsame section
HTTP 203 Non-Authoritative Information
Metadata transformed by an intermediary
OpenIn sheettextsame section
HTTP 205 Reset Content
Client should reset document view
OpenIn sheettextsame section
HTTP 206 Partial Content
Partial body returned due to range request
OpenIn sheettextsame section