Libgpiod - Change direction of bulk lines "on the go"


I’m trying to switch a line’s direction from output to input or from input to output after I’ve already requested the line. The first change works, but further request are denied.

Is there any way to change direction without the need of releasing the line and than change the direction?

SoM: Colibri iMX6ULL 512MB IT V1.1A
Carrier: Viola Carrier Board
OS: Yocto Linux