DELETE/eventrules/{name}

Delete an event rule

Deletes an existing event rule by its name. Use this operation when the rule should no longer trigger its configured actions.

1 parameter
namestringrequired
The name of the event rule to delete.

7 status codes
200Returns an operation response object containing `error` and `message` fields.
errorstringoptional
error description if any
messagestringoptional
message, can be empty
400Returned when the request is invalid.
errorstringoptional
error description if any
messagestringoptional
message, can be empty
401Returned when the request is unauthenticated.
errorstringoptional
error description if any
messagestringoptional
message, can be empty
403Returned when the caller does not have permission to delete the event rule.
errorstringoptional
error description if any
messagestringoptional
message, can be empty
404Returned when no event rule exists with the specified name.
errorstringoptional
error description if any
messagestringoptional
message, can be empty
500Returned when an internal server error occurs.
errorstringoptional
error description if any
messagestringoptional
message, can be empty
defaultUnexpected Error
errorstringoptional
error description if any
messagestringoptional
message, can be empty

Error handling

A 400 indicates an invalid request, a 401 indicates missing or invalid authentication, a 403 indicates insufficient permission, a 404 indicates no event rule matches the name path parameter, and a 500 indicates an internal server error. The name path parameter must identify the event rule you want to delete.