What HTTP 410 means
410 is a permanent, intentional 404. It tells clients to delete their links and search engines to drop the page from their index, which Google does faster than for a 404. Use it for deleted products, expired offers and retired API versions.
Retrying
No. Fix the request first; sending it again unchanged will get the same response.
Example response
HTTP/1.1 410 Gone
Date: Wed, 21 Oct 2026 10:30:00 GMT
Content-Type: application/json
How to return 410
res.status(410).json({ error: 'Gone' });
from fastapi import HTTPException
raise HTTPException(status_code=410, detail="Gone")
http.Error(w, http.StatusText(http.StatusGone), http.StatusGone)
location /private/ {
return 410;
}
Related status codes
- 404 Not Found : The server can’t find the requested resource.
- 301 Moved Permanently : The resource has a new permanent URL, given in the Location header.
- 308 Permanent Redirect : A permanent redirect that keeps the original method and body.
Other 4xx status codes
400 Bad Request · 401 Unauthorized · 402 Payment Required · 403 Forbidden · 404 Not Found · 405 Method Not Allowed · 406 Not Acceptable · 407 Proxy Authentication Required · 408 Request Timeout · 409 Conflict · 411 Length Required · 412 Precondition Failed · 413 Content Too Large · 414 URI Too Long · 415 Unsupported Media Type · 416 Range Not Satisfiable · 417 Expectation Failed · 418 I’m a Teapot · 421 Misdirected Request · 422 Unprocessable Content · 423 Locked · 424 Failed Dependency · 425 Too Early · 426 Upgrade Required · 428 Precondition Required · 429 Too Many Requests · 431 Request Header Fields Too Large · 444 No Response · 451 Unavailable For Legal Reasons · 499 Client Closed Request
See the full list of HTTP status codes.
Sources
Spotted a mistake? Email hello@devtoolsmith.com and we’ll fix it.
Frequently asked questions
What does HTTP 410 Gone mean?
HTTP 410 Gone means the resource was deliberately removed and won’t come back. 410 is a permanent, intentional 404. It tells clients to delete their links and search engines to drop the page from their index, which Google does faster than for a 404. Use it for deleted products, expired offers and retired API versions.