{
"code": "000000"
}
curl --location --request POST 'http://127.0.0.1:5212/api/v3/user/2fa' \
--header 'Cookie: cloudreve-session=' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "000000"
}'
{
"code": 0,
"data": {
"id": "l6hY",
"user_name": "admin@cloudreve.org",
"nickname": "admin",
"status": 0,
"avatar": "",
"created_at": "2024-05-01T11:04:25.490486+08:00",
"preferred_theme": "",
"anonymous": false,
"group": {
"id": 1,
"name": "Admin",
"allowShare": true,
"allowRemoteDownload": true,
"allowArchiveDownload": true,
"shareDownload": true,
"compress": true,
"webdav": true,
"sourceBatch": 1000,
"advanceDelete": true,
"allowWebDAVProxy": false
},
"tags": []
},
"msg": ""
}