Fix restricted endpoint