Ga naar inhoud

Gebruiker uitnodigen voor organisatie

Begin vanuit het scriptconfiguratie-blok en voeg vervolgens de onderstaande fragmentcode toe.

# ... script setup ...
invitation = api_post(
f"/v1/organization/{ORGANIZATION_ID}/invitations",
{"email": "new.user@example.com", "roleId": "your-role-uuid"},
)
print(json.dumps(invitation, indent=2))