Invite user to organization
このページのスクリプトのセットアップブロックから始め、下のスニペットコードを追加してください。
# ... 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))