Verdocs - Developer Documentation

Begin MFA enrollment

Fails with a 400 error if MFA is already enabled for the caller.

POST
/v2/users/mfa/enroll

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.verdocs.com/v2/users/mfa/enroll" \    -H "Authorization: Bearer ACCESS_TOKEN" \    -H "content-type: application/json" \    -d '{"param": "value"}'
{
  "expires_at": "string",
  "otpauth_url": "string",
  "secret": "string"
}
{
  "status": "ERROR",
  "error": "string"
}
{
  "status": "ERROR",
  "error": "string"
}
{
  "status": "ERROR",
  "error": "string"
}
{
  "status": "ERROR",
  "error": "string"
}