# DELETE Request

> The web request that wipes out the thing at an address.

**Field:** Infrastructure  
**Category:** Networking  
**Also known as:** DELETE, HTTP DELETE, DELETE Method

## Think of it like

Think of it like asking a shop to take one thing off the shelf.

## Definition

A DELETE request asks the server to remove a thing at a given address. Most DELETE requests have no body; the address says what to remove. Sending it twice has the same result as once, because the thing is already gone. Servers usually answer 204 No Content, or 404 Not Found the second time. Many apps hide the record instead of erasing it, so it can be brought back.

## Example

Jack deletes an old blog post. His app sends DELETE /api/posts/17, and the server answers 204.

## Example code

```http
DELETE /api/posts/17 HTTP/1.1
Host: example.com
```

The address alone says which post to remove.

## Why it matters

With a clear delete method, servers can check who may remove what. It also keeps deletes out of GET links.

## Common mistake

Letting anyone who knows the address send a DELETE. Always check the user may remove that thing.

## Three principles

- **Removes a thing.** Named by the address.
- **Usually no body.** The address is enough.
- **Same result twice.** It is already gone.

## Related terms

- [HTTP Method](https://learn.benibix.com/term/infrastructure/http-method)
- [HTTP Status Code](https://learn.benibix.com/term/infrastructure/http-status-code)
- [PUT Request](https://learn.benibix.com/term/infrastructure/put-request)
- [HTTP Response](https://learn.benibix.com/term/infrastructure/http-response)

## Taught in

- [HTTP Methods: GET vs POST](https://learn.benibix.com/learn/infrastructure-networking/http-methods-get-vs-post): Computer Networking, 10/13

---

Source: https://learn.benibix.com/term/infrastructure/delete-request
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
