List Own Application Invitations
Lists the calling service account's application's open invitations (not accepted, not expired), newest first; with email, that address's only.
Service accounts only, of a platform application.
Required scopes: auth:application-invitations:manage:own
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Only this address's invitation; empty for every open one.
length <= 190Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.ApplicationInvitationService/ListOwnApplicationInvitations" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"invitations": [
{
"invitationId": "string",
"email": "string",
"invitedByUser": "string",
"createdAt": "2023-01-15T01:30:15.01Z",
"expiresAt": "2023-01-15T01:30:15.01Z"
}
]
}Create Own Application Invitation POST
Invites `email` to the calling service account's application: a pending enrollment, with no roles, that becomes real on that address's first sign-in (the account's verified email must match) and expires unused after `expires_in_days` (default 14, at most 90). Re-inviting an address replaces its open invitation. The invitee is emailed, naming `invited_by_user` as the inviter, who must be an active user of the organisation. Refused for an application open to everyone, and for a person already enrolled. Accepting makes the person a member of no team. Service accounts only, of a platform application. **Required scopes:** `auth:application-invitations:manage:own`
Revoke Own Application Invitation POST
Revokes an open invitation to the calling service account's application, so it can no longer convert. Refused for one already accepted (that is an enrollment now). Service accounts only, of a platform application. **Required scopes:** `auth:application-invitations:manage:own`