{
"allowedLoginMethods": [1], // 1=账号 2=手机 3=微信
"allowedRegisterMethods": [1],
"defaultLoginMethod": 1,
"allowMultipleLogin": false,
"showPolicyAgreement": true
}curl --location --request POST 'http://prod-cn.your-api-server.com/consoleapi/users/login-settings' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"allowedLoginMethods": [1], // 1=账号 2=手机 3=微信
"allowedRegisterMethods": [1],
"defaultLoginMethod": 1,
"allowMultipleLogin": false,
"showPolicyAgreement": true
}'{
"code": 0,
"message": "string",
"data": {
"allowedLoginMethods": [
0
],
"allowedRegisterMethods": [
0
],
"defaultLoginMethod": 0,
"allowMultipleLogin": true,
"showPolicyAgreement": true
},
"timestamp": 0
}