You can call this operation to obtain the authorization list of the security protection agent by ListProxyAccesses.


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 ListProxyAccesses

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

ProxyId Long Yes 1

The ID of the security protection agent. You can call the ListProxies or GetProxy operation to obtain this parameter.

Tid Long No 1

The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain this parameter.

RegionId String No cn-hangzhou

Select the service region of DMS. This operation is used to call this operation. For more information, see RegionID parameter description.

Note Set this parameter to the ID of the region that is in proximity to your applications.

Response parameters

Parameter Type Sample response Description
RequestId String 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

The ID of the request.

Success Boolean true

Indicates whether the call was successful.

ErrorMessage String UnknownError

The error message that is returned.

ErrorCode String 200

The error code returned to the query task.

ProxyAccessList Array of ProxyAccessList

The list of security protection agent authorizations.

ProxyAccessId Long 1

The authorization ID of the security protection agent. After the security protection agent authorizes the target user, the system automatically generates a security protection authorization ID. The ID is globally unique.

GmtCreate String 2021-04-01 19:58:02

The time when the DAG was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.

AccessId String xxx

The authorized account of the security protection agent.

OriginInfo String Authorization by Owner (xxx)

The source information. The return values are as follows:

  • Owner authorization (xxx). The UID of the owner in parentheses.
  • Ticket authorization (31 xx3x2). In parentheses, the ticket number for which the user applies for permissions.
IndepAccount String xxx

An independent account.

UserId Long 1

The ID of the user.

UserUid String 1

The ID of the user.

UserName String user

The nickname of the user.

ProxyId Long 1

The ID of the security protection agent.

InstanceId Long 1

The ID of the ECS instance.


Sample requests

&<Common request parameters>

Sample responses

XML format

HTTP/1.1 200 OK

        <GmtCreate>2021-08-12 15:37:10</GmtCreate>
        <OriginInfo> Owner authorization (12000000001)</OriginInfo>
        <GmtCreate>2021-05-07 17:28:56</GmtCreate>
        <OriginInfo> Owner authorization (12000000000)</OriginInfo>

JSON format

HTTP/1.1 200 OK

  "RequestId" : "84C21B9F-30F6-54AC-9452-B961D8A5FFE8",
  "Success" : true,
  "ProxyAccessList" : [ {
    "GmtCreate" : "2021-08-12 15:37:10",
    "UserName" : "XD",
    "AccessId" : "JxxxxxxxxxxxxIxxxxxxmaTn",
    "InstanceId" : 1,
    "UserId" : 100001,
    "UserUid" : "200000060000",
    "ProxyId" : 1,
    "ProxyAccessId" : 1,
    "OriginInfo" : "Owner authorization (12000000001)"
  }, {
    "GmtCreate" : "2021-05-07 17:28:56",
    "UserName" : "exxxl",
    "AccessId" : "cxxxxxxExxxxxxxC",
    "InstanceId" : 1,
    "UserId" : 200000,
    "UserUid" : "2000000000",
    "ProxyId" : 1,
    "ProxyAccessId" : 2,
    "OriginInfo" : "Owner authorization (12000000000)"
  } ]

Error codes

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