Delete a rule by ID
  • 06 Sep 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Delete a rule by ID

  • Dark
    Light

Article summary

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.


Was this article helpful?

What's Next