Private/public repo update in GraphQL

Hi. Is there any way to change a repo from private to public (and vice versa) with GraphQL API? This functionality is available in Rest API but unfortunately it lacks the archive/unarchive, so i’d like to stick with GraphQL for that reason.

@loke-dev , I looked through the GraphQL documentation and also could not find an api that updates that specific repository setting, so looks lie you will need to resort to using both APIs.