The DELETE method is used to remove a resource from the server. The request URL specifies the resource to delete, and no request body is required.
The id
in the URL specifies the resource to delete. This make sure that the correct item, such as a specific blog post or user entry, is removed from the server.