应用身份管理服务 ONEACCESS-统一用户密码登录:请求示例

时间:2024-01-18 19:43:28

请求示例

统一用户密码登录。使用用户密码登录系统,用户名为test01,密码为123456。

POST https://{domain_name}/api/v2/sdk/auth

X-operating-sys-version: Android 10
X-device-fingerprint: 156aysdna213sac
X-device-ip: 10.10.10.1
X-agent: Mozilla/5.0 (Linux; Android 10; Redmi K30 Build/QKQ1.190825.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/80.0.3987.99 Mobile Safari/537.36
X-L: zh
X-client-id: DRrYIqauawN0I8myTMoDTPys6ezGZxnm
X-tenant-id: 08f770f51f80d2f40f38c00cb199fd21

{
  "user_name": "test01",
  "password": "123456"
}
support.huaweicloud.com/api-oneaccess/LoginByUnifiedUserNamePwd.html