DevKits
410

Gone

4xx Client Error

Last updated:

The resource is no longer available and has been permanently removed.

Description

Stronger than 404: 'this used to exist but we deliberately deleted it'. Search engines drop 410'd URLs from the index faster than 404s.

When to use

Return 410 for URLs you've intentionally retired and never want indexed again (e.g. deleted user pages).

Specification

RFC 9110 §15.5.11

Examples

HTTP response
HTTP/1.1 410 Gone
Content-Type: application/json

{"error":"Gone"}
Node.js (Express)
res.status(410).json({ error: "Gone" });
Go (net/http)
w.WriteHeader(http.StatusGone)
Python (Flask)
return jsonify({"error": "Gone"}), 410

Related status codes

All 4xx codes