resetToDefaults

View as MarkdownOpen in Claude
1resetToDefaults(): Promise<void>

Clears all SDK-persisted state and resets to defaults.

This clears device preferences, device history, authorization state, attached call IDs, and all SDK storage keys, then re-enumerates devices.

Returns

Promise<void>

Examples

1await client.resetToDefaults();