Get OTP to change 2FA type
No Content
Managing 2FA
user info
const response = await fetch('//api.client.nbcgate.tech/api/tfa', { method: 'GET', headers: {}, }); const data = await response.json();
{ "errors": [ { "code": 0, "field": "text", "message": "text" } ], "message": "text", "statusCode": 0 }
const response = await fetch('//api.client.nbcgate.tech/api/tfa', { method: 'PUT', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "OTP": "text", "type": 0 }), }); const data = await response.json();