Documentation navigation

Auth

Revoke a session through the admin client

POST/auth/logout

Revokes a user session through client.auth.admin.

Parameters

jwtstring
The user access token to revoke.
target?'global' | 'local' | 'others'
The revocation scope. Defaults to global.

Returns

datanull
errorAuthError | null