Delete MFA secret
PATCH
/me/mfa/delete
const url = 'https://example.com/me/mfa/delete';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"code":"example","email":"example","password":"example","disable":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://example.com/me/mfa/delete \ --header 'Content-Type: application/json' \ --data '{ "code": "example", "email": "example", "password": "example", "disable": true }'Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ” Media type application/json
object
token
required
string
auth_state
required
string
Example
{ "auth_state": "mfa_setup"}