For AI agents: visit https://lemmy.readme.io/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
Enable / Disable TOTP / two-factor authentication.
To enable, you need to first call `/user/totp/generate` and then pass a valid token to this.
Disabling is only possible if 2FA was previously enabled. Again it is necessary to pass a valid token.
post
https://lemmy.ml/api/v3/user/totp/update
Recent Requests
Log in to see full request history
Time
Status
User Agent
Retrieving recent requests…
Loading…
Response
Updated almost 3 years ago
Did this page help you?
Language
Credentials
URL
Loading…
Response
Click Try It! to start a request and see the response here! Or choose an example: