It does work for siteurl/wp-json and /wp-json/ but when the wp-json/ parm is followed by anything else like /wp-json/oembed… the redirection fails.
the 3 filters i am using now are
/wp-json to /ForgiveMe
/wp-json/ to /ForgiveMe
/wp-json/(.*) to /ForgiveMe
the first 2 work great how should i format the 3rd call to get the plugin to redirect for
command lines that start with /wp-json
please help i am trying to stop people from getting into my sites