410 Gone
The resource was here, has been removed deliberately and will not return.
410 is a more explicit 404. Use it for content you have removed on purpose, such as discontinued products without a replacement.
Search engines
Search engines drop 410 URLs from the index somewhat faster than 404 URLs.
Check a URL
See which status code a page returns right now with the header check.
Specification: RFC 9110 §15.5.11