3 endpoints

Two-Factor

Base path: /two-factor · Source: backend/src/modules/two-factor/two-factor.controller.ts

POST/two-factor/enroll
bearer

Ejemplo curl

curl -X POST 'https://api.mosend.dev/two-factor/enroll' \
  -H 'Authorization: Bearer YOUR_TOKEN'
POST/two-factor/verify
bearer

Body

VerifyDtoparámetro: dto

Ejemplo curl

curl -X POST 'https://api.mosend.dev/two-factor/verify' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{}'
POST/two-factor/disable
bearer

Ejemplo curl

curl -X POST 'https://api.mosend.dev/two-factor/disable' \
  -H 'Authorization: Bearer YOUR_TOKEN'