Opt-in to 2FA
documentedEnable two-factor authentication for the user.
POST /User/opt-in-to-2faUserno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl \"https://api.saasu.com/v1/User/opt-in-to-2fa?FileId={{$file_id}}\" \
-X POST \
-H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" \
-H \"Accept: application/json\" \
-H \"Content-Type: application/json\" \
-d '{\"MobileNumber\": \"{{$mobile_number}}\"}'