Change to Previous Activity using the REST API

I was able to get the History of Task and Activity by firing the REST Service as given below

/history/historic-activity-instances?processInstanceId=
/history/historic-task-instances?processInstanceId=

I am trying to find out if my Task is on Step 5 using the REST API I can move it backward to Task 2 or 3 or any.

I saw a blog “Going back in workflow” but cannot figure the equivalent REST Service I can use