refreshVirtualPresenceState

Validate a virtual presence's provider grant on demand and return its reconciled state. If the provider confirms the grant has been revoked (e.g. the user removed access in their provider account), the presence transitions to VirtualPresenceState.NEEDS_REAUTH; otherwise its state is returned unchanged. Use before gating access on a current VirtualPresenceState.CONNECTED state.

Return

The reconciled VirtualPresence.

Parameters

id

String The unique identifier of the virtual presence to refresh.