204 No Content

The HTTP status meaning the request succeeded and there is deliberately no body to send back.

In more detail

With no body there is also no Content-Type header, because there is nothing to describe. It is a common answer to a successful DELETE, or to a PUT or PATCH when the client needs nothing back.

Example

In the APIs course: The course service answers a successful DELETE, PATCH and PUT to a completion with 204.

Related terms

Taught in

References