Queries the subdomains of users.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListUserSubdomains

The operation that you want to perform. Set the value to ListUserSubdomains.

Search String No baidu.com

Specifies the subdomain you want to query.

CurrentPage Integer No 1

The number of the page to return. Default value: 1.

PageSize Integer No 10

The number of entries to return on each page.

Response parameters

Parameter Type Example Description
CurrentPage Integer 1

The number of the returned page.

Default value: 1.

PageSize Integer 10

The number of entries returned per page.

Records Array

The list of records.

Domain String baidu.com

The domain.

Id Integer 1

The ID of the record.

Index Integer 1

The index number of the record.

Subdomain String foo.baidu.com

The subdomain.

UpdatedAt Long 1582166968000

The update time.

RequestId String 665EEE60-E78C-4F3A-A231-8D1C379AB512

The ID of the request.

TotalCount Integer 34013

The total number of returned entries.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListUserSubdomains
&<Common request parameters>

Sample success responses

XML format

<ListUserSubdomainsResponse>
    <TotalCount>0</TotalCount>
    <RequestId>5A71FF12-FC30-496F-A79F-6FE08C598CC7</RequestId>
    <PageSize>10</PageSize>
    <CurrentPage>1</CurrentPage>
</ListUserSubdomainsResponse>

JSON format

{
    "TotalCount": 0,
    "RequestId": "5A71FF12-FC30-496F-A79F-6FE08C598CC7",
    "PageSize": 10,
    "CurrentPage": 1,
    "Records": []
}

Error codes

For a list of error codes, visit the API Error Center.