Skip to content

Home > @world-wide-lab/client > Participant > update

Participant.update() method

Update the participant's meta-data.

Signature:

typescript
update(data: ClientParticipantUpdateOptions): Promise<boolean>;

Parameters

Parameter

Type

Description

data

ClientParticipantUpdateOptions

The data to update. Can contain privateInfo and/or publicInfo. The publicInfo can be retrieved later on without authentication, the privateInfo can only be downlaoded later on by the researcher.

**Returns:**

Promise<boolean>

true if the update was successful