---
updatedAt: 2026-04-21T14:01:09.000Z
agentTools:
  projectIndex: https://marketing.developer.dotdigital.com/llms.txt
---

# Delete preference

Deletes a preference or preference category by id

<br />

<span class="callRateLow" />

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Preferences and subscriptions",
    "version": "2.0.1",
    "description": "Manage contact subscriptions, suppressions, and marketing preferences. Use this\nAPI to unsubscribe or resubscribe contacts (with or without a challenge email),\nbulk-suppress contacts, and query suppressed or unsubscribed contacts since a\ngiven date. Also provides full CRUD for preference categories and individual\npreferences, and endpoints to get or set the preference opt-in status for a\nspecific contact."
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "x-samples-languages": [
    "curl",
    "csharp",
    "java",
    "javascript",
    "node",
    "python",
    "php",
    "ruby"
  ],
  "externalDocs": {
    "description": "Learn more about Dotdigital APIs",
    "url": "https://developer.dotdigital.com"
  },
  "servers": [
    {
      "url": "https://{region}-api.dotdigital.com",
      "variables": {
        "region": {
          "default": "r1",
          "enum": [
            "r1",
            "r2",
            "r3"
          ],
          "description": "The Dotdigital region id your account belongs to"
        }
      }
    }
  ],
  "security": [
    {
      "basicAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "paths": {
    "/v2/preferences/{id}": {
      "parameters": [
        {
          "in": "header",
          "name": "x-ddg-integration-token",
          "required": false,
          "description": "If you are a partner of Dotdigital and have a [verified integration](https://developer.dotdigital.com/docs/partner-integration-verification) then include your [integration tracking token](https://developer.dotdigital.co/docs/verified-integration-tracking) here.",
          "schema": {
            "type": "string",
            "pattern": "/^(?:\\{{0,1}(?:[0-9a-fA-F]){8}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){4}-(?:[0-9a-fA-F]){12}\\}{0,1})$/",
            "example": "5a96bc79-19a7-4544-973b-e2da0c9136f9"
          }
        }
      ],
      "delete": {
        "summary": "Delete preference",
        "deprecated": false,
        "description": "Deletes a preference or preference category by id",
        "operationId": "delete-preference",
        "tags": [
          "Preferences and subscriptions"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "example": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "properties": {}
                },
                "examples": {
                  "Result": {
                    "summary": "Result",
                    "value": "Preference or category (and preferences) were deleted successfully"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```

# Sibling pages

* [Unsubscribe contact](https://marketing.developer.dotdigital.com/reference/unsubscribe-contact.md)
* [Bulk suppress contacts](https://marketing.developer.dotdigital.com/reference/bulk-suppress-contacts.md)
* [Resubscribe contact](https://marketing.developer.dotdigital.com/reference/resubscribe-contact.md)
* [Resubscribe contact with no challenge](https://marketing.developer.dotdigital.com/reference/resubscribe-contact-with-no-challenge.md)
* [Get suppressed contacts since date](https://marketing.developer.dotdigital.com/reference/get-suppressed-contacts-since-date.md)
* [Get subscriptions for contact](https://marketing.developer.dotdigital.com/reference/get-subscriptions-for-contact.md)
* [Get unsubscribed contacts since date](https://marketing.developer.dotdigital.com/reference/get-unsubscribed-contacts-since-date.md)
* [Create preference](https://marketing.developer.dotdigital.com/reference/create-preference.md)
* [Update preference](https://marketing.developer.dotdigital.com/reference/update-preference.md)
* [Get preferences](https://marketing.developer.dotdigital.com/reference/get-preferences.md)
* [Get modified preferences since date](https://marketing.developer.dotdigital.com/reference/get-modified-preferences-since-date.md)
* [Set preferences for contact](https://marketing.developer.dotdigital.com/reference/set-preferences-for-contact.md)
* [Get preferences for contact](https://marketing.developer.dotdigital.com/reference/get-preferences-for-contact.md)
* [Get contacts opted into a preference and an address book](https://marketing.developer.dotdigital.com/reference/get-contacts-opted-into-a-preference-and-an-address-book.md)
* [Get contacts opted into a preference](https://marketing.developer.dotdigital.com/reference/get-contacts-opted-into-a-preference.md)
* [Get contacts with modified preference opt-in since date](https://marketing.developer.dotdigital.com/reference/get-contacts-with-modified-preference-opt-in-since-date.md)
* [Get contacts with modified preference opt-in in address book since date](https://marketing.developer.dotdigital.com/reference/get-contacts-with-modified-preference-opt-in-in-address-book-since-date.md)