Quick Summary: The URL is right but the verb is wrong. The
detail and the allowedMethods extension list the methods this path does support.What happened
You called an existing endpoint with an HTTP method it doesn’t implement — for exampleDELETE /api/v1/ping, which only answers GET. This is distinct from not-found: a 404 means no such path, a 405 means the path exists and you should change the method, not the URL.
Example
What to do
Switch to one of the methods inallowedMethods. If you expected this operation to exist — say, a DELETE on a resource that only documents POST — check the endpoint’s page in the API reference for the supported operations and any alternative (many removals are modelled as dedicated sub-resources or deactivate endpoints).