Operation | Deleting a Rule |
---|
URL | api/holmes-rule-mgmt/v1/rule/{ruleid} |
---|
Method | DELETE |
---|
Request |
---|
Message Type | JSON String |
---|
Message | {
“ruleid": "ruleid0937261"
} | Field Name | Mandatory | Data Type | Default Value | Description |
---|
ruleid | Y | string |
| the id of the rule which is to be deleted |
| Response | Success Code | 200 |
---|
Error Code | 499 |
---|
Message on Success | none |
---|
Message on Error | { "code": 499, "message": "The detailed error message is displayed here." } |
---|
Field Name | Description |
---|
code | the error code returned from the server | message | the detailed message if any error occurs |
|
---|