deletepage from api