SurrealDB Docs Logo

Enter a search query

.invalidate()

Invalidates the authentication for the current connection.

Method Syntax
async db.invalidate()

Example usage

await db.invalidate();

On this page

© SurrealDB GitHub Discord Community Cloud Features Releases Install