Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

@reactor/auth — invitationsclient

@reactor/auth


@reactor/auth / InvitationsClient

Defined in: orgs.ts:165

Invitations client for managing organization invitations.

new InvitationsClient(ctx): InvitationsClient

Defined in: orgs.ts:166

RequestContext

InvitationsClient

accept(params): Promise<Result<Member>>

Defined in: orgs.ts:185

Accept an invitation.

string

Promise<Result<Member>>


list(params?): Promise<Result<Invitation[]>>

Defined in: orgs.ts:171

List pending invitations for the current user.

any

Promise<Result<Invitation[]>>


revoke(invitationId): Promise<Result<void>>

Defined in: orgs.ts:192

Revoke an invitation (org admin only).

string

Promise<Result<void>>