Update user MFA

Updates the Multi-Factor Authentication (MFA) information of a user.

The generated link with an enrollment rel link must be followed to verify the existing MFA or enroll new MFA.

SecurityAPI Key: SecretApiKey or HTTP: JWT
post
/profile/mfa
Request samples
const mfa = await api.profile.updateMfa();
console.log(mfa.fields._links);
Responses

201

User MFA update URL created.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

404

Resource not found.

Response samples
application/json
{ "status": "active", "type": "duo", "lastAuthTime": "2019-08-24T14:15:22Z", "_links": [ ] }