Add new member, change member Role API

Hello is there a way using rest api to add new member to Figma with Viewer restricted role assigned. Another question: is there a way to change member role using API?

such as:

        response = requests.patch(
                "X-Figma-Token": figma_api_key
                "role": "VIEWER_RESTRICTED"
1 Like

did you find way for it?

Would also be really interested in using the API for managing licenses more easily and automated.

This is a bit tricky I have to admit in the various different hidden Figma Settings :sweat_smile:

Are there any plans to add this feature in the REST API?