Enable 2FA

🔐 Login Required (User Permission)

POST
/api/user/2fa/enable
*object

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

code?string

Response Body

curl -X POST "https://example.com/api/user/2fa/enable" \  -H "Content-Type: application/json" \  -d '{}'
Empty