POST
/
v2
/
user
/
mfa
curl --request POST \
  --url https://api.eda.prisme.ai/v2/user/mfa \
  --header 'Content-Type: application/json' \
  --header 'X-Prismeai-API-Key: <api-key>' \
  --data '{
  "method": "totp",
  "currentPassword": "<string>"
}'
{
  "secret": "<string>",
  "qrImage": "<string>"
}

Authorizations

X-Prismeai-API-Key
string
header
required
connect.sid
string
cookie
required

Body

application/json
method
enum<string>
required
Available options:
totp,
none,
*
currentPassword
string
required

Response

200
application/json
Success Response
secret
string
required
qrImage
string
required