DELETE and PATCH
Where there’s a POST, there’s a DELETE. The DELETE HTTP method does exactly what you think it does – deletes stuff. 🗑️ The DELETE method takes in an endpoint and deletes a resource in a collection of resources. The resource to be deleted is identified by the request URL. DELETE, like PUT, is an idempotent method.
Back to Chapter: Working the API