Skip to content

Commit 2f9b331

Browse files
authored
remove totp seed to readme (#459)
* remove totp seed to readme * Update README.md * Update README.md
1 parent 946627f commit 2f9b331

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,14 @@ const jwtResponse = await descopeClient.totp.verify(loginId, 'code');
304304

305305
The session and refresh JWTs should be returned to the caller, and passed with every request in the session. Read more on [session validation](#session-validation)
306306

307+
#### Deleting the TOTP Seed
308+
309+
Provide the `loginId` to the function to remove the user's TOTP seed.
310+
311+
```typescript
312+
const response = await descopeClient.management.user.removeTOTPSeed(loginId);
313+
```
314+
307315
### Passwords
308316

309317
The user can also authenticate with a password, though it's recommended to

0 commit comments

Comments
 (0)