# Delete an entity’s theme kit

> Source: /api-reference/partner/explorer/theme-kits/remove
> Removes the kit so the entity reverts to the styling it inherits. Optimistically concurrent via `expectedVersion`.
> Full spec: https://docs.journey.com/openapi/partner.v1.json

## `DELETE /v1/partner/theme-kits/{entityType}/{entityExternalId}`

```json
{
  "description": "Removes the kit so the entity reverts to the styling it inherits. Optimistically concurrent via `expectedVersion`.",
  "operationId": "themeKitsPartner_remove",
  "parameters": [
    {
      "description": "External id of that organization, brand, or property.",
      "in": "path",
      "name": "entityExternalId",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "The kind of entity the kit is attached to.",
      "in": "path",
      "name": "entityType",
      "required": true,
      "schema": {
        "enum": [
          "organization",
          "brand",
          "property"
        ],
        "type": "string"
      }
    },
    {
      "description": "The version that was loaded; a stale value is a 409.",
      "in": "query",
      "name": "expectedVersion",
      "required": true,
      "schema": {
        "minimum": 1,
        "type": "number"
      }
    },
    {
      "description": "Global (Journey staff) callers name the organization they act within.",
      "in": "query",
      "name": "organizationId",
      "required": false,
      "schema": {
        "maxLength": 100,
        "type": "string"
      }
    }
  ],
  "responses": {
    "204": {
      "description": "The theme kit was removed."
    },
    "400": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "Request validation failed. `errors` lists the offending fields."
    },
    "401": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "No usable credential. Send `Authorization: Bearer <jwt>` or `X-API-Key: jny_...`."
    },
    "403": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "The credential authenticated but lacks the scopes in `x-required-scopes`, or the resource belongs to another organization."
    },
    "404": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "No such resource, or it is outside the organization the credential resolves to."
    },
    "409": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "The request conflicts with the current state of the resource."
    }
  },
  "security": [
    {
      "partnerBearer": []
    },
    {
      "partnerApiKey": []
    }
  ],
  "summary": "Delete an entity’s theme kit",
  "tags": [
    "partner/theme-kits"
  ],
  "x-required-scopes": [
    [
      "partner:theme-kits:manage"
    ]
  ]
}
```