POST
/
api
/
user
/
mfa
/
totp
/
set-key
Set TOTP MFA key
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/user/mfa/totp/set-key \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "key": "<string>",
  "totpToken": "<string>"
}'
{
  "success": true,
  "error": "<string>",
  "recoveryCodes": [
    "<string>"
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200 - application/json

OK

The response is of type object.