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(
            f"https://api.figma.com/v1/teams/{figma_team_id}/members/{member['id']}",
            headers={
                "X-Figma-Token": figma_api_key
            },
            json={
                "role": "VIEWER_RESTRICTED"
            }
1 Like

Hey
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: