Invitations
/team/:teamid/invites
(authenticated)
Get invites for a team
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- team_management
teamid: The id of the team to act on
/team/:teamid/invitation/:inviteid
(authenticated)
Delete a team invitation
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- team_management
teamid: The id of the team to act on
inviteid: undocumented
/team/:teamid/invitation
(authenticated)
Invite someone to a team
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- team_management
{
// The e-mail for the user to invite
email: email,
// The ID of the group the user should end up in
target_group: integer,
}
teamid: The id of the team to act on
/team/:teamid/invitation/resend
(authenticated)
Resend an invitation
Note:Requires sending an authentication token either in the sessionid
query argument,
or in the X-API-Key
header. The token is returned from the login
route.
Required Team Permissions
- team_management
{
// email address to resend the invite to.
The: email,
}
teamid: The id of the team to act on
/team/accept/invitation/:token
Accept an inviation with an existing account
token: undocumented
/team/accept/invitation/newaccount/:token
Accept an invitation, and create a new account.
Note that this also logs the user in, so it returns a session token
on success.
{
// password
The: password,
}
token: undocumented