You can call this operation to obtain the authorization password of the security protection agent InspectProxyAccessSecret.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | InspectProxyAccessSecret |
The operation that you want to perform. Set the value to InspectProxyAccessSecret. |
ProxyAccessId | Long | Yes | 1 |
The ID of the security protection authorization. After the security protection agent authorizes the target user, the system automatically generates a security protection authorization ID. The ID is globally unique. You can call the ListProxyAccesses 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. |
AccessSecret | String | xxx |
The authorization password of the security protection agent. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=InspectProxyAccessSecret
&ProxyAccessId=1
&Tid=1
&<Common request parameters>
Sample responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<InspectProxyAccessSecretResponse>
<AccessSecret>nxxxxxxuxxxxxxxi</AccessSecret>
<RequestId>E6F2971A-CDCC-5451-86EB-328868715619</RequestId>
<Success>true</Success>
</InspectProxyAccessSecretResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"AccessSecret" : "nxxxxxxuxxxxxxxi",
"RequestId" : "E6F2971A-CDCC-5451-86EB-328868715619",
"Success" : true
}
Error codes
For a list of error codes, visit the API Error Center.