> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# updateWaitingParticipant()

> Grants or denies access to a participant waiting to join the meeting.

`updateWaitingParticipant(id, updates)`

The `id` must correspond to a participant in [`waitingParticipants()`](https://docs.daily.co/reference/react-native/instance-methods/waiting-participants) — passing an unknown ID results in an error.

Once access is granted, the participant is removed from [`waitingParticipants()`](https://docs.daily.co/reference/react-native/instance-methods/waiting-participants) and a [`waiting-participant-removed`](https://docs.daily.co/reference/react-native/events/participant-events#waiting-participant-removed) event fires.

## Parameters

**id** `string` *required*

The session ID of the waiting participant.

**updates** `DailyWaitingParticipantUpdateOptions` *required*

**properties**

**grantRequestedAccess** `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

```javascript theme={null}
// Grant access to a specific waiting participant
await call.updateWaitingParticipant('session-id', {
  grantRequestedAccess: true,
});

// Deny access
await call.updateWaitingParticipant('session-id', {
  grantRequestedAccess: false,
});
```

## See also

> [card] Methods
>
> * [updateWaitingParticipants()](https://docs.daily.co/reference/react-native/instance-methods/update-waiting-participants.md)
> * [waitingParticipants()](https://docs.daily.co/reference/react-native/instance-methods/waiting-participants.md)
> * [requestAccess()](https://docs.daily.co/reference/react-native/instance-methods/request-access.md)

> [card] Events
>
> * [waiting-participant-added](https://docs.daily.co/reference/react-native/events/participant-events.md#waiting-participant-added)
> * [waiting-participant-updated](https://docs.daily.co/reference/react-native/events/participant-events.md#waiting-participant-updated)
> * [waiting-participant-removed](https://docs.daily.co/reference/react-native/events/participant-events.md#waiting-participant-removed)

> [card] Guides
>
> * [Waiting room](https://docs.daily.co/docs/daily-js/guides/waiting-room.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.