---
title: 'Delete Loyalty Rule'
description: 'Delete an existing Loyalty Rule'
openapi: DELETE /api/loyalty/rules/{id}
---

> **For AI agents:** the complete documentation index is at [llms.txt](https://docs.snagsolutions.io/llms.txt). Append `.md` to any page URL for its markdown version.

`DELETE /api/loyalty/rules/{id}` — path parameters: `id`; query parameters: `debitLoyaltyPoints`

`DELETE https://admin.snagsolutions.io/api/loyalty/rules/{id}`

Delete an existing Loyalty Rule

## Authentication

- `apiKeyAuth` — apiKey in header: `X-API-KEY`

## Path parameters

- `id` (string, required)

## Query parameters

- `debitLoyaltyPoints` (string) — Whether to debit loyalty points

## Response 200

200
  - response (object)
    - `id` (string, uuid, required)
    - `deletedAt` (string, date-time, required)

## Response 403

403
  - response (object) — Schema for forbidden response
    - `message` (string, required) — Error message


---

📦 **OpenAPI specs:** Every OpenAPI specification referenced by this documentation is available as a single download — https://docs.snagsolutions.io/api-specs.zip
