Reset a user's authenticator
DELETE
/v1/users/{id}/totp
const url = 'http://localhost:8080/v1/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/totp';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 http://localhost:8080/v1/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/totpClears the user’s TOTP enrollment (the lost-device path) and revokes every session; the user signs in with their password or an emailed link and enrolls again. Administrators only, recorded in the auth trail. Idempotent. 404 for an unknown user.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”No Content