{"base_path":null,"components":{"parameters":{"Limit":{"description":"页面中最大结果数量。","in":"query","name":"limit","required":false,"schema":{"default":200,"format":"int32","maximum":2000,"minimum":1,"type":"integer"}},"Marker":{"description":"分页标记。非分页的接口,不使用该值。","in":"query","name":"marker","required":false,"schema":{"maxLength":400,"minLength":4,"pattern":"^[A-Za-z0-9+/=\\-_]+$","type":"string"}},"accessToken":{"allowEmptyValue":false,"description":"创建令牌接口调用签发的访问令牌","in":"header","name":"access-token","required":true,"schema":{"maxLength":4096,"pattern":"^[a-zA-Z0-9-_\\.]{1,4096}$","type":"string"}}},"schemas":{"AccountInfo":{"description":"Provides information about your account.","properties":{"account_id":{"description":"分配给用户的账号的全局唯一标识符(ID)","type":"string"},"account_name":{"description":"分配给用户的账号的名称","type":"string"},"email_address":{"description":"分配给用户的账号的电子邮箱地址","maxLength":254,"minLength":1,"type":"string"}},"type":"object"},"ListAccountsResp":{"properties":{"account_list":{"description":"满足查询条件的账号对象列表","items":{"$ref":"#/components/schemas/AccountInfo"},"type":"array"},"page_info":{"$ref":"#/components/schemas/PageInfoDto","description":"包含分页信息的对象"}},"required":["account_list"],"type":"object"},"PageInfoDto":{"properties":{"current_count":{"description":"本页返回条目数量","format":"int32","type":"integer"},"next_marker":{"description":"如果存在,则表示可用的输出比当前响应中包含的输出多。在对操作的后续调用中,在标签请求参数中使用此值,以获取输出的下一部分。您应该重复此操作,直到next_marker响应元素返回为null","type":"string"}},"required":["next_marker"],"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"66685d2e348348299f07fd75b84f22bf","host":"portal-identitycenter.myhuaweicloud.com","id":"57639b55a1994685bed099a29c9a3b05","info_version":"v1","method":"get","name":"ListAccounts","parameters":null,"paths":{"/v1/assigned-accounts":{"get":{"description":"列出分配给用户的所有账号","operationId":"ListAccounts","parameters":[{"$ref":"#/components/parameters/accessToken"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Marker"}],"responses":{"200":{"content":{"application/json":{"example":{"account_list":[{"account_id":"5146d03d8aaaaaaaaaaaabbae60620a5","account_name":"example-account-name","email_address":"email@example.com"}],"page_info":{"current_count":1,"next_marker":null}},"schema":{"$ref":"#/components/schemas/ListAccountsResp"}}},"description":"Successful"}},"summary":"列出账号","tags":["Account"],"x-apiexplorer-auth":false,"x-is-registered":"Y","x-request-examples-description-1":"列出账号","x-request-examples-url-1":"GET https://{hostname}/v1/assigned-accounts","x-support-sdk":"Y"}}},"product_short":"IdentityCenterPortalAPI","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"列出账号","tags":"账户管理","uri":null,"version":"3.0.3"}