Is there any way to rotate dotween Path ?

I wants to rotate dotween path when its parent object rotate.
pathScript = this.GetComponent();
transform.rotation = (Quaternion.Euler(0, 0, 120));

these are the lines that I’m using , but only rotate parent not tween path.
Is there any way to rotate dotween Path ? or get to path transform?

This is from DOTweens on documentation page:

void Start() {
   transform.DOPath(waypoints, 1).OnWaypointChange(MyCallback);
}
void MyCallback(int waypointIndex) {
   Debug.Log("Waypoint index changed to " + waypointIndex);
}

You can get the index and from there determine your rotation for each stretch between different waypoints.