HTTP DELETE Method

Information about the HTTP DELETE method.

HTTP DELETE

Delete the resource.

Request Body

Data in a request may be sent.

Response Body

A response body may be returned.

Cache

The response cannot be cached.

Idempotent

The request should not cause any side-effects on the server and it should be possible to issue the same request several times with the server being left in the same state.

This is not enforced by the server and a common mistake is for an idempotent request to change the server state.

Example

DELETE /
DELETE /a-url/?search=cat

Reference

https://tools.ietf.org/html/rfc7231#section-4.3.5