Delete a rule
import requests
url = "https://{commerce_studio_id}.experiencemanager.lucidworks.com/em-rules/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"status": 123,
"error": "<string>",
"path": "<string>"
}Delete a rule
Delete a rule.
DELETE
/
em-rules
/
{id}
Delete a rule
import requests
url = "https://{commerce_studio_id}.experiencemanager.lucidworks.com/em-rules/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"status": 123,
"error": "<string>",
"path": "<string>"
}Was this page helpful?
⌘I