---
title: "Remove Items from Catalog Category"
description: "How to call Remove Items from Catalog Category (DELETE /api/catalog-categories/{id}/relationships/items) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/reference/remove_items_from_catalog_category"
revision: "2026-10-15"
operationId: "remove_items_from_catalog_category"
aliases: ["delete_catalog_category_relationships_items"]
method: "DELETE"
endpoint: "https://a.klaviyo.com/api/catalog-categories/{id}/relationships/items"
authentication: "privateKey"
scopes: ["catalogs:write"]
rateLimits: {"burst":"75/s","steady":"750/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/remove_items_from_catalog_category.json"
related: ["https://developers.klaviyo.com/en/reference/catalogs/llms.txt","https://developers.klaviyo.com/en/reference/get_catalog_categories.md","https://developers.klaviyo.com/en/reference/get_catalog_category.md","https://developers.klaviyo.com/en/reference/create_catalog_category.md","https://developers.klaviyo.com/en/reference/update_catalog_category.md","https://developers.klaviyo.com/en/reference/delete_catalog_category.md","https://developers.klaviyo.com/en/reference/get_bulk_create_categories_jobs.md","https://developers.klaviyo.com/en/reference/get_bulk_create_categories_job.md","https://developers.klaviyo.com/en/reference/bulk_create_catalog_categories.md","https://developers.klaviyo.com/en/reference/get_bulk_update_categories_jobs.md","https://developers.klaviyo.com/en/reference/get_bulk_update_categories_job.md","https://developers.klaviyo.com/en/reference/bulk_update_catalog_categories.md","https://developers.klaviyo.com/en/reference/get_bulk_delete_categories_jobs.md","https://developers.klaviyo.com/en/reference/get_bulk_delete_categories_job.md","https://developers.klaviyo.com/en/reference/bulk_delete_catalog_categories.md","https://developers.klaviyo.com/en/reference/get_categories_for_catalog_item.md","https://developers.klaviyo.com/en/reference/get_item_ids_for_catalog_category.md","https://developers.klaviyo.com/en/reference/add_items_to_catalog_category.md","https://developers.klaviyo.com/en/reference/update_items_for_catalog_category.md"]
---

# Remove Items from Catalog Category

> This is the Markdown version of https://developers.klaviyo.com/en/reference/remove_items_from_catalog_category

```http
DELETE https://a.klaviyo.com/api/catalog-categories/{id}/relationships/items
```

Delete item relationships for the given category ID.

- Revision header: `revision: 2026-10-15` (required)
- Scopes: `catalogs:write`
- Rate limits: Burst: `75/s`, Steady: `750/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/remove_items_from_catalog_category.json)

## Example request

### curl

```bash
curl --request DELETE \
     --url 'https://a.klaviyo.com/api/catalog-categories/%24custom%3A%3A%3A%24default%3A%3A%3ASAMPLE-DATA-CATEGORY-APPAREL/relationships/items' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-10-15' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": [
    {
      "type": "catalog-item",
      "id": "$custom:::$default:::SAMPLE-DATA-ITEM-1"
    }
  ]
}'
```

### CLI

```bash
klaviyo catalogs remove-items-from-catalog-category '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL' \
  -d '{
  "data": [
    {
      "type": "catalog-item",
      "id": "$custom:::$default:::SAMPLE-DATA-ITEM-1"
    }
  ]
}'
```

Sign in first with `klaviyo auth login`. [Install the Klaviyo CLI](https://developers.klaviyo.com/en/docs/klaviyo_cli.md)

### Python

```python
from klaviyo_api import KlaviyoAPI

klaviyo = KlaviyoAPI("your-private-api-key")

response = klaviyo.Catalogs.remove_items_from_catalog_category(
    "$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL",
    {
        "data": [
            {
                "type": "catalog-item",
                "id": "$custom:::$default:::SAMPLE-DATA-ITEM-1",
            },
        ],
    },
)
```

Install it with `pip install klaviyo-api`. [The Python SDK on GitHub](https://github.com/klaviyo/klaviyo-api-python)

### Node.js

```javascript
import { ApiKeySession, CatalogsApi } from 'klaviyo-api'

const session = new ApiKeySession('your-private-api-key')
const catalogsApi = new CatalogsApi(session)

const response = await catalogsApi.removeItemsFromCatalogCategory(
  '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL',
  {
    data: [
      {
        type: 'catalog-item',
        id: '$custom:::$default:::SAMPLE-DATA-ITEM-1',
      },
    ],
  },
)
```

Install it with `npm install klaviyo-api`. [The Node.js SDK on GitHub](https://github.com/klaviyo/klaviyo-api-node)

### Ruby

```ruby
require 'klaviyo-api-sdk'

KlaviyoAPI.configure do |config|
  config.api_key['Klaviyo-API-Key'] = 'Klaviyo-API-Key your-private-api-key'
end

response = KlaviyoAPI::Catalogs.remove_items_from_catalog_category(
  '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL',
  {
    data: [
      {
        type: 'catalog-item',
        id: '$custom:::$default:::SAMPLE-DATA-ITEM-1',
      },
    ],
  },
)
```

Install it with `gem install klaviyo-api-sdk`. [The Ruby SDK on GitHub](https://github.com/klaviyo/klaviyo-api-ruby)

### PHP

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

use KlaviyoAPI\KlaviyoAPI;

$klaviyo = new KlaviyoAPI('your-private-api-key');

$response = $klaviyo->Catalogs->removeItemsFromCatalogCategory(
    '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL',
    [
        'data' => [
            [
                'type' => 'catalog-item',
                'id' => '$custom:::$default:::SAMPLE-DATA-ITEM-1',
            ],
        ],
    ],
);
```

Install it with `composer require klaviyo/api`. [The PHP SDK on GitHub](https://github.com/klaviyo/klaviyo-api-php)

## Path parameters

- `id` (string, required): The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`. Example: `$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-10-15`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object[], required)
  - `type` (string, required): Allowed values: `catalog-item`
  - `id` (string, required): A list of catalog item IDs that are in the given category. Example: `$custom:::$default:::SAMPLE-DATA-ITEM-1`

### Example request body

```json
{
  "data": [
    {
      "type": "catalog-item",
      "id": "$custom:::$default:::SAMPLE-DATA-ITEM-1"
    }
  ]
}
```

## Responses

### 204: Success

This response has no body.

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
