Reference
Remy Reference/interface/auth.revokeApiKey
?

auth.revokeApiKey

Revoke the current user's API key.
auth.revokeApiKey() → Promise<void>

Invalidates the signed-in user's API key immediately, so any further request bearing it gets a 401. The masked value on the user row clears and onAuthStateChanged fires. Mint a replacement with createApiKey.

Usage
await auth.revokeApiKey();