Delete a rule by ID

Prev Next
Post
/rules/{ruleId}/delete

Delete a rule by ID

Path parameters
ruleId
stringRequired

The unique identifier for the order rule.

Responses
200

Successful response

object
status
string

Status of the response

Valid values[ "ok", "error" ]
data
integer

The status of the rule's deletion is indicated by this value. A value of 1 means the rule has been deleted, while 0 signifies that it has not been deleted.

Default1
401

Unauthorized response

object
status
string

Status of the response, in this case "error".

message
string

Unauthorized error message.