Deletes a health check instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:DeleteHealthCheck |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the health check instance is deployed. |
cn-shanghai |
| HcInstanceId |
string |
Yes |
The ID of the health check instance. |
hc-vfgyz7dv07lthr**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
7F0B079C-2D0E-4ABF-A970-C079F785A09C |
Examples
Success response
JSON format
{
"RequestId": "7F0B079C-2D0E-4ABF-A970-C079F785A09C"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | HC.InstanceNoFound | The specified network health check instance does not exist. | The specified network health check instance does not exist. |
| 400 | HC.RelatedRoute | The specified health check instance has associated routes and cannot be deleted. | The specified health check instance has associated routes and cannot be deleted. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.