检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
domain_name:使用OneAccess服务API需要使用用户访问域名,获取方法请参见获取用户访问域名。 resource-path:资源路径,也即API访问路径。
GET https://{domain_name}/api/v2/tenant/organizations/{org_id} Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140...
GET https://{domain_name}/api/v2/tenant/applications/{application_id}/organizations/{org_id} Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140
GET https://{domain_name}/api/v2/tenant/applications/{application_id}/role/{role_id} Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140
PUT https://{domain_name}/api/v2/tenant/applications/{application_id}/role/{role_id} Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140
PUT https://{domain_name}/api/v2/tenant/users/{user_id}/change-password-verify Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140...
POST https://{domain_name}/api/v2/tenant/applications/{application_id}/role Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140...
PUT https://{domain_name}/api/v2/tenant/users/{user_id}/change-password Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140...
Remaining attempts: {0} 无效的账号或密码。
POST https://{domain_name}/api/v2/tenant/users/{user_id}/applications/{application_id}/accounts Authorization: Bearer 334963fc-1e4a-473b-9096
POST https://{domain_name}/api/v2/tenant/organizations Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140... { "code": "1000001", "
GET https://{domain_name}/api/v2/tenant/users/{user_id}/accounts Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140...
PUT https://{domain_name}/api/v2/tenant/applications/{application_id}/organizations/{org_id} Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140
domain_id=e35f***************79ba14839c&idp=one001&protocol=oidc&service=https://console.huaweicloud.com/devcloud/?
PUT https://{domain_name}/api/v2/tenant/applications/{application_id}/accounts/{account_id} Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140
PUT https://{domain_name}/api/v2/tenant/organizations/{org_id} Authorization: Bearer 334963fc-1e4a-473b-9096-52a929140...
您可以根据需要将开放接口注册到OneAccess平台,方便企业应用调用。 企业API系统API产品是OneAccess内置的API产品和权限,自定义API产品是由用户自定义的API产品和权限。对于系统API产品,只支持查看和授权。
GET https://{domain_name}/api/v1/oauth2/authorize?response_type=code&client_id=cU0L3GsEq1vuOJ5iQrRSu5AyPnKL8...
GET https://{domain_name}/api/v2/tenant/applications/{application_id}/organizations?
POST https://{domain_name}/api/v2/tenant/token Content-Type: application/x-www-form-urlencoded client_id=ONtQq2igSggfFClyGgzmuXR8ubWEP...&