Skip to main content
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>"
}

Documentation Index

Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The rule's Universally-Unique Identifier (UUID). You can also use the externalId, if the rule has one.

Response

No Content.