Skip to main content

core.medplumclient.invite

Home > @medplum/core > MedplumClient > invite

MedplumClient.invite() method

Invite a user to a project.

Signature:

invite(projectId: string, body: InviteRequest): Promise<ProjectMembership | OperationOutcome>;

Parameters

Parameter

Type

Description

projectId

string

The project ID.

body

InviteRequest

The InviteRequest.

Returns:

Promise<ProjectMembership | OperationOutcome>

Promise that returns a project membership or an operation outcome.