HTTP 410 — Gone
The resource requested is no longer available and will not be available again
When to use it
Use status 410 when this is the correct HTTP response semantic: The resource requested is no longer available and will not be available again
Request and response example
GET /protected-resource HTTP/1.1
Host: api.example.com
HTTP/1.1 410 Gone
Content-Type: application/json
{"error":"Request cannot be completed"}