EasypanelDocs

Enable two-factor authentication

Verifies a one-time code and enables two-factor authentication.

POST
/enable

Verifies a one-time code and enables two-factor authentication.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/enable" \  -H "Content-Type: application/json" \  -d '{    "code": "string"  }'
null