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"
}