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.
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>"
}
OK
The response is of type object
.