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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Success Response

The response is of type object.