Skip to content
Luna
Esc
↑↓navigate↵open⌘Jpreview

Resend an invitation

Replaces an invitation with a new one for the same address and role. The new invitation has a new code and lasts seven days.

POST/_luna/orgs/{org}/invites/{id}/resend
Authorization
AuthorizationBearer token · headerrequired

An account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.

Scopes:members:write
Path parameters
orgstringrequired

The organisation, by its slug.

idstringrequired

The invitation's id.

Responses
200

The new invitation.

idstringrequired
invitestringrequired

The invitation's code. Luna keeps only its hash.

pathstringrequired

The path of the page on this server where the invitation is taken up.

expiresMsinteger<int64>required
min 0
default

The request failed. The status says how and error.message says why.

errorErrorDetailrequired
Show properties
codestring | null

A code for programs to branch on, when the error has one.

messagestringrequired

What went wrong, in a sentence a person can read.

Try it
Server
Authorization
Parameters
Request
curl -X POST 'https://luna.example.com/_luna/orgs/string/invites/string/resend' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "id": "string",
  "invite": "string",
  "path": "string",
  "expiresMs": 0
}

Was this page helpful?