cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/user/mfa/totp/create-key \ --header 'x-api-key: <api-key>'
{ "success": true, "error": "<string>", "key": "<string>", "url": "<string>" }
Creates a new MFA key, only allowed if the user has no MFA configured. TOTP tokens use SHA-1 algorithm.
OK
Whether the operation succeeded
Secret key (use SHA-1).
URL that will be converted into a QR code that can be scanned.
Optional error description (set if 'success' was false)