The resource existed and has been permanently removed. Unlike a 404, the server is stating that it will not come back.
Defined in RFC 9110 §15.5.11 — 410 Gone · MDN reference
Retired API versions, expired share links, records removed at a user's request, and endpoints deliberately sunset after a deprecation window — anywhere the absence is a decision rather than an accident.
Most clients collapse 410 into 404 and keep retrying a URL that will never work again. Test it separately and stop retrying.
Stop asking. A 410 is the server saying the URL will not come back, which means the right client behaviour is to remove it from whatever list keeps producing it — not to retry on a schedule.
14 endpoints in this playground answer with 410. Every one is free, needs no signup, and can be called from the browser or with curl.
GET https://funapi.dev/api/airline/v1/bookings/{id} — Get a booking (410 if cancelled) (Airline API) Open & run this endpointGET https://funapi.dev/api/protocol/v1/documents/{id} — Get a document (410 after deletion) (Protocol Lab API) Open & run this endpointDELETE https://funapi.dev/api/protocol/v1/documents/{id} — Delete a document (admin only, then 410) (Protocol Lab API) Open & run this endpointGET https://funapi.dev/api/shop/v1/coupons/{code} — Validate a coupon (410 when expired) (Shop API) Open & run this endpointGET https://funapi.dev/api/shop/v1/reservations/{id} — Observe stock reservation expiry (Shop API) Open & run this endpointPOST https://funapi.dev/api/shop/v1/reservations/{id}/confirm — Consume reserved stock using its version (Shop API) Open & run this endpointGET https://funapi.dev/api/reservations/v1/holds/{id} — Read a hold and observe expiry (Reservation API) Open & run this endpointPOST https://funapi.dev/api/reservations/v1/holds/{id}/confirm — Confirm a live hold (Reservation API) Open & run this endpointGET https://funapi.dev/api/worldcup/v1/tickets/{id} — Get a ticket order (410 after cancellation) (World Cup 2026 API) Open & run this endpointDELETE https://funapi.dev/api/worldcup/v1/tickets/{id} — Cancel a ticket order and release the seats (admin only) (World Cup 2026 API) Open & run this endpointGET https://funapi.dev/api/fiba/v1/tickets/{id} — Get a ticket order — 410 once it has been cancelled (FIBA World Cup API) Open & run this endpointDELETE https://funapi.dev/api/fiba/v1/tickets/{id} — Cancel an order and release the seats (FIBA World Cup API) Open & run this endpointGET https://funapi.dev/api/faults/v1/status/{code} — Return any status code on demand (200–599) (Fault Injection API) Open & run this endpointGET https://funapi.dev/api/fhir/r4/Patient/{id} — Read a patient (ETag W/"versionId"); deleted → 410 (FHIR R4 Health Records API) Open & run this endpointAll HTTP status codes · All 55 mock REST APIs · Getting started guide
Last updated