检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
错误类型。 error_description String 错误描述。 请求示例 基于access_token 查询用户信息。 GET https://{domain_name}/api/v1/oauth2/userinfo Authorization: Bearer b7e1f
错误编号。 error_msg String 错误详情。 请求示例 根据应用id和角色id修改应用侧角色,修改角色名称为管理员2。 PUT https://{domain_name}/api/v2/tenant/applications/{application_id}/role/{role_id}
error_code String 错误编号。 error_msg String 错误详情。 请求示例 校验原密码修改用户密码。 PUT https://{domain_name}/api/v2/tenant/users/{user_id}/change-password-verify
String 错误详情。 请求示例 用户授权应用账号,在应用application_id中创建名为Test01的应用账号。 POST https://{domain_name}/api/v2/tenant/users/{user_id}/applications/{application_id}/accounts
创建组织,组织名子部门,组织编码1000001,父组织编码20210623103509267-6ABA-201FFC...,组织类型部门。 POST https://{domain_name}/api/v2/tenant/organizations Authorization: Bearer
String 错误编号。 error_msg String 错误详情。 请求示例 查询组织详情,基于组织id查询指定组织详情。 GET https://{domain_name}/api/v2/tenant/organizations/{org_id} Authorization:
String 错误编号。 error_msg String 错误详情。 请求示例 根据应用id和角色id查询指定应用侧角色详情。 GET https://{domain_name}/api/v2/tenant/applications/{application_id}/role/{role_id}
58023-84A4-ED5C390B8", "20220414163425614-2FD6-CA9B208BE"]。 DELETE https://{domain_name}/api/v2/tenant/applications/{application_id}/role-member
String 错误详情。 请求示例 根据应用id分页查询应用中的机构列表中的前100条数据,如不满100条,则返回实际数量的数据。 GET https://{domain_name}/api/v2/tenant/applications/{application_id}/organizations
String 错误详情。 请求示例 获取凭据,根据应用的clientid以及clientsecret获取接口鉴权token。 POST https://{domain_name}/api/v2/tenant/token Content-Type: application/x-www-form-urlencoded
邮件网关配置 邮件网关是OneAccess针对重置用户密码场景,提供给用户的一种通过邮箱获取信息的方式。开启邮件网关后,管理员重置用户密码时,可以选择由OneAccess产生随机密码,并通过邮件的方式发送给用户,该用户将收到邮件密码,登录成功后可以进行密码重置。 本文主要介绍OneAccess配置邮件网关的方法。
根据应用id和应用账号id修改指定应用账号信息,应用账号名为Test02,姓名为Example,所属应用机构编码为10000,状态为启用。 PUT https://{domain_name}/api/v2/tenant/applications/{application_id}/accounts/{account_id}
String 错误详情。 请求示例 修改组织信息,组织编码为TestOrg,组织名为测试机构,父组织为根组织,组织类型为部门。 PUT https://{domain_name}/api/v2/tenant/organizations/{org_id} Authorization:
t使用注册应用时分配的ClientId和ClientSecret,grant_type为固定值refresh_token。 POST https://{domain_name}/api/v1/oauth2/token Content-Type: application/x-www-form-urlencoded
"20220415171558023-84A4-ED5C390B8", "20220414163425614-2FD6-CA9B208BE" ]。 POST https://{domain_name}/api/v2/tenant/applications/{application_id}/role-member
错误详情。 请求示例 根据应用id和角色id分页查询应用侧角色成员列表,返回查询结果前10条数据,如不满10条,则返回实际数量的结果。 GET https://{domain_name}/api/v2/tenant/applications/{application_id}/role-member-list/{role_id}
请求示例 以分页形式查询组织列表,返回除了根组织外,其他所有子组织列表信息的前100条,不满100条时,则返回实际数量的信息结果。 GET https://{domain_name}/api/v2/tenant/organizations?org_id=&all_child=true&offset=0&limit=100
String 错误编号。 error_msg String 错误详情。 请求示例 根据用户名查询用户详情,用户名zhangsan。 POST https://{domain_name}/api/v2/tenant/users/user-by-username { "user_name"
t使用注册应用时分配的ClientId和ClientSecret,grant_type为固定值refresh_token。 POST https://{domain_name}/api/v1/oauth2/token Content-Type: application/x-www-form-urlencoded
参数类型 描述 error_code String 错误码。 error_msg String 错误详情。 请求示例 退出登录。 GET https://{domain_name}/api/v2/sdk/logout X-operating-sys-version: Android