3 endpoints
Two-Factor
Base path: /two-factor · Source: backend/src/modules/two-factor/two-factor.controller.ts
/two-factor/enroll bearer
Ejemplo curl
curl -X POST 'https://api.mosend.dev/two-factor/enroll' \ -H 'Authorization: Bearer YOUR_TOKEN'
/two-factor/verify bearer
Body
VerifyDtoparámetro: dtoEjemplo curl
curl -X POST 'https://api.mosend.dev/two-factor/verify' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{}'/two-factor/disable bearer
Ejemplo curl
curl -X POST 'https://api.mosend.dev/two-factor/disable' \ -H 'Authorization: Bearer YOUR_TOKEN'