系统管理/用户配置相关接口
GETUser Configuration起始版本 4.10.0同步需要认证
获取双因子认证密钥
获取双因子认证密钥
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
查询参数
请求参数
查询参数
nameString必填资源名称
passwordString必填密码。
captchaUuidString暂无描述。
verifyCodeString验证代码。
systemTagsList系统标签。
响应状态
请求地址
GET/zstack/v1/twofactorauthentication/secret
/zstack/v1/twofactorauthentication/secret
请求示例
curl -X GET 'http://{host}/zstack/v1/twofactorauthentication/secret?name=<name>&password=<password>&captchaUuid=<captchaUuid>&verifyCode=<verifyCode>&systemTags=<systemTags>&userTags=<userTags>&type=<type>' -H 'Authorization: OAuth {sessionUuid}'
响应示例
200{ "inventory": { "uuid": "7870dee14bdb328c9eb6635f4f494fdd", "secret": "ABCDEFGH12345678", "status": "NewCreated", "userType": "AccountVO" } }变更历史
此 API 暂无变更历史记录。
