Disable TOTP for the authenticated member.
DELETE
/account/security/totp
const url = 'https://api.siteqwality.com/account/security/totp';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.siteqwality.com/account/security/totp \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”TOTP disabled
Media type application/json
object
ok
required
boolean
Example generated
{ "ok": true}Missing or invalid authentication
Endpoint requires a user session
Internal server error
Stytch API call failed