Deletes a cross-product whitelist template.
Operation description
This operation deletes the metadata of released database gateways from intelligent stress testing tasks created by the CreateCloudBenchTasks operation.
When you use an SDK to call the DAS service, set the region to cn-shanghai.
A database gateway is considered stopped if there is no heartbeat between it and an endpoint for more than 20 seconds.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1Request parameters
Parameter | Type | Required | Description | Example |
RegionName | string | Yes | The region ID. | cn-shanghai |
GlobalSecurityGroupId | string | Yes | The ID of the IP address whitelist template. | g-rcge12hbfooad3m**** |
Response elements
Element | Type | Description | Example |
object | |||
Code | string | The status code. | 200 |
| Data | object | The returned data. | |
| GlobalSecurityIPGroup | array<object> | The details of the cross-product whitelist template. | |
object | The details of the cross-product whitelist template. | ||
GlobalSecurityGroupId | string | The ID of the IP address whitelist template. | g-1no2rzybnqcv0m**** |
Message | string | The message returned for the request. Note If the request is successful, Successful is returned. If the request fails, an error message is returned. The error message may include an error code. | Successful |
RequestId | string | The request ID. | B6D17591-B48B-4D31-9CD6-9B9796B2**** |
Success | string | Indicates whether the request was successful. Valid values:
| true |
Examples
Success response
JSON format
{
"Code": "200",
"Data": {
"GlobalSecurityIPGroup": [
{
"GlobalSecurityGroupId": "g-1no2rzybnqcv0m****\n"
}
]
},
"Message": "Successful",
"RequestId": "B6D17591-B48B-4D31-9CD6-9B9796B2****",
"Success": "true"
}Error codes
HTTP status code | Error code | Error message | Description |
400 | InvalidParams | The request parameters are invalid. | |
403 | NoPermission | You are not authorized to do this action. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.