revokeSignInToken()
Revokes a pending sign-in token.
function revokeSignInToken(signInTokenId: string): Promise<SignInToken>
- Name
signInTokenId
- Type
string
- Description
The ID of the sign-in token to revoke.
const signInTokenId = 'sit_123'
const response = await clerkClient.signInTokens.revokeSignInToken(signInTokenId)
Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint POST/sign_in_tokens/{sign_in_token_id}/revoke
. See the BAPI reference for more information.
Feedback
Last updated on