Manage user access to the questionnaire from the outside via API access

Dear community, congratulations!
Could you please tell me if it is possible to grant certain access rights to a questionnaire without entering the questionnaire settings? Maybe there is an option to use access to the questionnaire through the API and control access from the outside?

Would you mind to explain why you need this, please, and what exactly you want to achieve?

I want to manage access through a web interface where I have several projects with questionnaires and a list of users. It will be faster and more convenient to manage access. Or maybe there is already another solution. Because now I have a lot of projects with several questionnaires, and managing access takes a lot of time.