应用身份管理服务 ONEACCESS-获取用户信息:响应示例

时间:2024-08-30 15:55:33

响应示例

状态码: 200

请求成功。

{
  "id" : "20201029190841785-CB37-8BD36B...",
  "name" : "test",
  "userName" : "test",
  "mobile" : "12345678901",
  "email" : "123@example.com"
}

状态码: 401

认证失败。

{
  "error" : "unauthorized",
  "error_description" : "Full authentication is required to access this resource"
}
support.huaweicloud.com/api-oneaccess/ShowUser.html