Invite a new member to the organization

Authentication

AuthorizationBearer
Firebase ID token obtained from the frontend SDK

Request

This endpoint expects an object.
emailstringRequiredformat: "email"
rolestringOptionalDefaults to member

Response

Invitation created
idstringformat: "uuid"
organization_idstringformat: "uuid"
emailstringformat: "email"
rolestring
invited_bystringformat: "uuid"
expires_atdatetime
created_atdatetime
accepted_atdatetime