You can call this operation to disable the data security protection proxy of a DB instance.
After you disable this feature, your DB instance loses the JDBC protocol. All authorization information is recycled.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteProxy |
The operation that you want to perform. Set the value to DeleteProxy. |
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. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteProxy
&ProxyId=1
&Tid=1
&<Common request parameters>
Sample responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteProxyResponse>
<RequestId>EEC84F7F-E60E-5513-8DE6-F22EF368BD4D</RequestId>
<Success>true</Success>
</DeleteProxyResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "EEC84F7F-E60E-5513-8DE6-F22EF368BD4D",
"Success" : true
}
Error codes
For a list of error codes, visit the API Error Center.