The request method is known by the server but is not supported by the target resource. For example, an API may not allow calling DELETE to remove a resource.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405