Delete Exception
DELETE/code/api/v1/enforcement-rules/:ruleId
This API is used in order to delete an Exception rule definition, main rules can’t be deleted. The deleted rule will not be applied to new runs, but won't change the results of runs affected previously by this rule. In case of an error, it returns the following string: “Could not delete rule for customer” If you get this error message, ask for access to the relevant repositories from your admin, or check if the rule is a main rule
Request
Path Parameters
ruleId stringrequired
Responses
- 200
- 422
Delete rule
- application/json
- Schema
Schema
string
Request arguments validation error
Loading...