Mid REST API

What should be the response for an HTTP DELETE request?

  • 200 OK → If the resource was successfully deleted and a response body is returned.
  • 204 No Content → If the resource was deleted but no body is needed.
  • 404 Not Found → If the resource does not exist.

More from ASP.NET Core Web API Tutorial

All questions for this course