Python
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.
Documentation IndexFetch the complete documentation index at: https://doc.lucidworks.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The rule's Universally-Unique Identifier (UUID). You can also use the externalId, if the rule has one.
externalId
No Content.
Was this page helpful?