Grants or denies access to a participant waiting to join the meeting.
updateWaitingParticipant(id, updates) Prebuilt CustomThe id must correspond to a participant in waitingParticipants() — passing an unknown ID results in an error.Once access is granted, the participant is removed from waitingParticipants() and a waiting-participant-removed event fires.
Parameters
string
required
The session ID of the waiting participant.
DailyWaitingParticipantUpdateOptions
required
Hide properties
boolean
Pass true to grant the participant access to join. Pass false to deny it.
Return value
Returns Promise<{ id: string }> — resolves with the ID of the updated participant.
Example
// Grant access to a specific waiting participantawait call.updateWaitingParticipant('session-id', { grantRequestedAccess: true,});// Deny accessawait call.updateWaitingParticipant('session-id', { grantRequestedAccess: false,});