All Products
Search
Document Center

Security Center:ResetHoneypot

Last Updated:Feb 20, 2024

Resets a honeypot.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
HoneypotIdstringYes

The ID of the honeypot.

Note You can call the ListHoneypot operation to query the IDs of honeypots.
945607c2ae2a1a737c04599d6608065688bfc6048d9b9d306ce8dc8191c*****
LangstringNo

The language of the content within the request and response. Valid values:

  • zh: Chinese
  • en: English
zh

Response parameters

ParameterTypeDescriptionExample
object
Dataobject

The data returned.

HoneypotIdstring

The ID of the honeypot.

9bf8cd373112263d4bc102fc5dba9d9f812ee05d4d35c487d330d52e937f****
HoneypotNamestring

The name of the honeypot.

ruoyi
ControlNodeNamestring

The name of the management node.

managerNodename
HoneypotImageNamestring

The name of the honeypot image.

ruoyi
PresetIdstring

The ID of the honeypot custom parameter.

868a7579-00b5-4a74-999d-8bd3f411****
Statearray

The status of the honeypot.

string

The status of the honeypot. Value:

  • starting: starting
  • running: normal
  • exited: closed
  • upgrade: updating
  • deleting: deleting
  • resetting: resetting
  • created: created
  • stopping: stopping
running
HoneypotImageDisplayNamestring

The display name of the image.

RuoYi
NodeIdstring

The ID of the management node.

a882e590-b87b-45a6-87b9-d0a3e5a0****
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

A57C711B-AA15-55B2-8F61-4D09CEXXXXX

Examples

Sample success responses

JSONformat

{
  "Data": {
    "HoneypotId": "9bf8cd373112263d4bc102fc5dba9d9f812ee05d4d35c487d330d52e937f****",
    "HoneypotName": "ruoyi",
    "ControlNodeName": "managerNodename",
    "HoneypotImageName": "ruoyi",
    "PresetId": "868a7579-00b5-4a74-999d-8bd3f411****",
    "State": [
      "running"
    ],
    "HoneypotImageDisplayName": "RuoYi",
    "NodeId": "a882e590-b87b-45a6-87b9-d0a3e5a0****"
  },
  "RequestId": "A57C711B-AA15-55B2-8F61-4D09CEXXXXX"
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history