Sharepoint online: problem with updating the moderation status from the rest API

I am trying to update the moderation status of a sharepoint file through the rest API. The rest of the API will be called from the Java code. I am trying to update it using an http patch request for the graphical API. I am using the following API

https://graph.microsoft.com/v1.0/sites/{site}/drives/{driveId}/items/{itenId}/listitem

and my payload is
{
"_ModerationStatus": 0
}
The status is updated but is pending again as a new version is created. I have version control enabled in my document library. Is there a way to update the moderation status without being aware again?
** Note: ** I need versions in my library. Therefore, version settings cannot be disabled.