Last updated: 2019-12-14 11:26:19


1. API Description

API domain name:

This API queries a sub-user.

Default API request rate limit: 20 requests/sec.

2. Input Parameters

The following parameters are required for requesting this API, including action-specific parameters and common parameters. For more information about common parameters for all requests, see Common Request Parameters.

Parameter name Required Type Description
Action Yes String Common parameter; the name of this API: GetUser
Version Yes String Common parameter; the version of this API: 2019-01-16
Region No String Common parameter; optional for this API.
Name Yes String Sub-user name

3. Output Parameters

Parameter name Type Description
Uin Integer Sub-user ID
Name String Sub-user name
Uid Integer Sub-user UID
Remark String Sub-user remarks
ConsoleLogin Integer Whether the sub-user can log in to the console
PhoneNum String Mobile number
CountryCode String Country code
Email String Email address
RequestId String The ID of the request. Each request returns a unique ID. The RequestId is required to troubleshoot issues.

4. Sample

Sample 1. Querying a Sub-user

Input Sample Code
&<Common request parameter>

Output Sample Code

  "Response": {
    "Uin": 100000546533,
    "Name": "test124",
    "Uid": 1001774,
    "Remark": "test",
    "ConsoleLogin": 1,
    "PhoneNum": "10086",
    "CountryCode": "86",
    "Email": "",
    "RequestId": "33674182-e53d-416b-b6ce-bd7e7536b5d6"

5. Developer Resources

API Explorer

This tool provides various capabilities such as online call, signature verification, SDK code generation, and quick API retrieval that significantly reduce the difficulty of using TencentCloud API.

6. Error Codes

This API has no error codes related to business logic. For other error codes, see Common Error Codes.