Deletes a specified honeypot.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DeleteHoneypot |
delete |
*HoneyPot
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| HoneypotId |
string |
Yes |
The ID of the honeypot. Note
Call the ListHoneypot operation to query honeypot IDs. |
558b5fa40948ebe2171a74757c54dc7e58f761870fa7ee6a105e70947ec82aa9 |
| Lang |
string |
No |
The language of the content in the request and response. Default value: zh. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| Success |
boolean |
Whether the request was successful. Valid values:
|
true |
| Code |
string |
The status code. A value of 200 indicates success. Other values indicate failure. |
200 |
| Message |
string |
The message returned. |
successful |
| RequestId |
string |
The request ID, used to locate and troubleshoot issues. |
E14721CB-B32F-56F2-8490-CDA18E4F9268 |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
Examples
Success response
JSON format
{
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "E14721CB-B32F-56F2-8490-CDA18E4F9268",
"HttpStatusCode": 200
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.