Queries the registrant profiles that belong to your Alibaba Cloud account.
Operation description
You can use optional request parameters to specify specific query criteria to query registrant profiles as required. For example:
- If you know the ID of the profile that you want to query, you can use the registrant profile ID parameter to query the detailed information about the profile.
- If you do not know the ID of the profile that you want to query, you can use parameters such as the registrant name parameter to query the detailed information about the profile.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
domain:QueryRegistrantProfile | list | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the error message to return if the request fails. Valid values:
Default value: en. | en |
RegistrantOrganization | string | No | The name of the domain name registrant. | li si |
UserClientIp | string | No | The IP address of the client. Set the value to 127.0.0.1. | 127.0.0.1 |
RegistrantProfileId | long | No | The ID of the registrant profile that you want to query. The system generates an ID after you create a registrant profile. | 1234567 |
DefaultRegistrantProfile | boolean | No | Specifies whether to query the default profile. Valid values:
Default value: false. | false |
PageNum | integer | No | The number of the page to return. Default value: 0. | 1 |
PageSize | integer | No | The number of entries per page. Default value: 0. Maximum value: 5000. | 500 |
ZhRegistrantOrganization | string | No | The Chinese name of the domain name registrant. | |
RegistrantType | string | No | The type of the domain name registrant. Valid values:
Default value: 1. | 1 |
RealNameStatus | string | No | The state of real-name verification for the domain name registrant. Valid values:
| SUCCEED |
string | No | The email address of the domain name registrant. | username@example.com | |
RegistrantProfileType | string | No | The type of the registrant profile. Valid values:
Note
Only the Alibaba Cloud international site (alibabacloud.com) supports CNNIC profiles. To register domain names provided by CNNIC such as the .cn and . domain names on the Alibaba Cloud international site, you must use a CNNIC profile. To register other domain names, use a common profile.
| common |
Remark | string | No | The remarks. | Test domain name |
Response parameters
Examples
Sample success responses
JSON
format
{
"NextPage": true,
"RequestId": "94053D79-7455-4F71-BF06-20EB2DEDE6BD",
"TotalItemNum": 9,
"PrePage": false,
"CurrentPageNum": 1,
"TotalPageNum": 1,
"PageSize": 2,
"RegistrantProfiles": {
"RegistrantProfile": [
{
"TelExt": "1234",
"UpdateTime": "2019-03-15 15:32:45",
"ZhProvince": "",
"CreateTime": "2019-02-18 10:46:47",
"Telephone": "1829756****",
"RegistrantOrganization": "li si",
"City": "hang zhou shi",
"ZhCity": "",
"TelArea": "86",
"Address": "zhe jiang sheng hang zhou shi shi li qu shi li zhen shi li da sha 1001 hao",
"RealNameStatus": "SUCCEED",
"PostalCode": "310024",
"RegistrantProfileType": "common",
"RegistrantProfileId": 1000001,
"ZhRegistrantOrganization": "",
"DefaultRegistrantProfile": false,
"Email": "82106****@qq.com",
"ZhRegistrantName": "",
"RegistrantType": "1",
"Country": "CN",
"RegistrantName": "li si",
"EmailVerificationStatus": 1,
"ZhAddress": "",
"Province": "zhe jiang",
"CredentialNo": "4****************1",
"CredentialType": "YYZZ",
"Remark": "Test domain name\n"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-07-25 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |