Turn two-factor authentication off: every session of the account ends, this one too (needs step-up level 2).
DELETE
/api/admin/two-factor
const url = 'https://example.com/api/admin/two-factor';const options = {method: 'DELETE'};
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://example.com/api/admin/two-factorResponses
Section titled “Responses”No Content