API Reference
cURL
curl --request POST \ --url https://api.runly.pro/v1/security/2fa/confirm \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "secret": "<string>", "code": "123456" } '
{ "status": { "code": 200, "message": "OK", "trace_id": "tr_2fa_conf" }, "data": { "message": "Two-factor authentication activated successfully" }, "usage": { "latency_ms": 20 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"123456"
激活结果
Show child attributes