Invite a member
Invites an email address to an organisation. An address has one open invitation at a time, so a new one replaces the last. The invitation lasts seven days and its code is shown once. Only an owner can invite an owner.
/_luna/orgs/{org}/invitesAuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
members:writeorgstringrequiredThe organisation, by its slug.
application/jsonemailstring | nullThe address to invite. Leave it out for a link that anyone can use once.
rolestring | nullThe role the new member gets. viewer when left out.
The new invitation.
idstringrequiredinvitestringrequiredThe invitation's code. Luna keeps only its hash.
pathstringrequiredThe path of the page on this server where the invitation is taken up.
expiresMsinteger<int64>requiredThe request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.