Queries the domains 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 ListUserDomains

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

Search String No aliyun.com

Specifies the domain 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.

PageSize Integer 10

The number of entries returned per page.

Records Array

The returned domain information.

Domain String aliyun.com

The domain that you queried.

Id Integer 1

The ID assigned by Cloud Security Scanner to the domain.

Index Integer 1

The index number of each record in the returned domain information.

UpdatedAt Long 1582166786000

The time when the data on the attack surface was queried and updated.

RequestId String 40D177A1-75A0-4192-9848-823AD8705C22

The ID of the request.

TotalCount Integer 10

The total number of returned entries.

Examples

Sample requests

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

Sample success responses

XML format

<ListUserDomainsResponse>
  <Records>
        <UpdatedAt>1558579833000</UpdatedAt>
        <Index>1</Index>
        <Domain>aliyun.com</Domain>
        <Id>530</Id>
  </Records>
  <TotalCount>1</TotalCount>
  <PageSize>10</PageSize>
  <RequestId>37EC8071-9B31-4E4F-8EE5-F4687BAB55F8</RequestId>
  <CurrentPage>1</CurrentPage>
</ListUserDomainsResponse>

JSON format

{
    "Records": [
        {
            "UpdatedAt": 1558579833000,
            "Index": 1,
            "Domain": "aliyun.com",
            "Id": 530
        }
    ],
    "TotalCount": 1,
    "PageSize": 10,
    "RequestId": "37EC8071-9B31-4E4F-8EE5-F4687BAB55F8",
    "CurrentPage": 1
}

Error codes

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