API2 does not provide the setredirecturl functions. It is only available as an API1 call (documented here: Park Module Documentation).
FWIW: API1 is not the predecesor to API2. It is true that many API1 functions have an analogous API2 function. However, because they are different APIs it cannot be assumed that there will always be such parity. Related information can be found in a blog article, Introduction to cPanel & WHM APIs | cPanel Blog
We have tried API1 call for setredirecturl functions, but we did not succeeded. We have got following response.
----- starts-------
Array
(
[apiversion] => 1
[type] => event
[module] => Park
[func] => setredirecturl
[source] => module
[data] => Array
(
[result] => nowhere (Redirection Disabled!)