# Remove associated user listings from a dynamic set

`DELETE /sets/{set_id}/associated_listings`

> Wheelhouse Comp Set API. Web version: https://docs.usewheelhouse.com/comp-set/reference/remove-set-associated-listings · OpenAPI spec: https://docs.usewheelhouse.com/comp-set/openapi.yaml · Operation ID: `removeSetAssociatedListings` · Tag: Sets · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

Removes one or more of the authenticated user's listings from a dynamic set. Requires manage-level access to the set.

## Request

`DELETE https://api.usewheelhouse.com/ss_api/v1/comp_set/sets/{set_id}/associated_listings`

Authentication: send your Comp Set API key in the `X-Integration-Api-Key` header and your user API key in the `X-User-API-Key` header (see https://docs.usewheelhouse.com/comp-set/authentication.md).

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `set_id` | integer | yes | ID of the dynamic set. |

### Request body (`application/json`, required)

- `listing_ids` (array of string, required): Channel listing IDs to disassociate, or Wheelhouse listing IDs when `channel` is `wheelhouse` (at most 500 per request).
- `channel` (string): Channel name (required when no X-Integration-Api-Key channel is set), or the literal `wheelhouse` to read `listing_ids` as Wheelhouse listing IDs instead.

### Example request

```bash
curl -X DELETE 'https://api.usewheelhouse.com/ss_api/v1/comp_set/sets/{set_id}/associated_listings' \
  -H 'X-Integration-Api-Key: <your Comp Set API key>' \
  -H 'X-User-API-Key: <your user API key>' \
  -H 'Content-Type: application/json' \
  -d '{
  "listing_ids": [
    "string"
  ]
}'
```

Only required parameters and body fields are filled in, with placeholder values. Add the optional ones you need from the lists above; some are required in combination, as their descriptions say.

## Responses

### 200

Successfully removed associated listings.

Body (`application/json`): array of object `PricingApiListing`

A user-owned listing as returned by the associated_listings endpoints.

- `id` (string): Channel-scoped listing identifier.
- `wheelhouse_id` (integer, nullable): Wheelhouse internal listing ID.
- `base_min_night_stay` (integer, nullable): Minimum night stay requirement.
- `currency` (string, nullable): Currency code for the listing.
- `title` (string, nullable): Listing title.
- `owner_name` (string, nullable): Name of the listing owner.
- `description` (string, nullable): Listing description.
- `nickname` (string, nullable): Internal nickname for the listing.
- `num_bathrooms` (number, nullable): Number of bathrooms.
- `num_bedrooms` (integer, nullable): Number of bedrooms.
- `room_type` (string, nullable): Type of room.
- `property_type` (string, nullable): Type of property.
- `is_active` (boolean, nullable): Whether the listing is currently active.
- `channel_ids` (object, nullable): Platform-specific listing IDs.
- `location` (object, nullable): Location information for the listing.
- `access_level` (string, nullable): How the authenticated user accesses this listing (owner, viewer, restricted_editor, editor, or manager).
- `amenities` (array of string, nullable): List of amenities.
- `num_beds` (integer, nullable): Number of beds.
- `num_reviews` (integer, nullable): Number of reviews.
- `star_rating` (number, nullable): Star rating of the listing.
- `num_photos` (integer, nullable): Number of photos.
- `security_deposit` (number, nullable): Security deposit amount.
- `source_user_id` (string, nullable): Source platform user ID.
- `thumb_url` (string, nullable): Thumbnail image URL.
- `listing_preferences` (object, nullable): Listing preferences and fee structure.
- `meta` (object, nullable): Additional metadata.
- `market_id` (integer, nullable): Market identifier.
- `market_name` (string, nullable): Human-readable name of the market identified by `market_id`, e.g. `San Francisco, CA, United States`.
- `channel` (string, nullable): Channel/platform name.
- `links` (object, nullable): Useful links (calendar, upgrade).
- `wheelhouse_created_at` (string (date-time), nullable): When the listing was created in Wheelhouse.

Example shape (generated from the schema; placeholder values, not a real response):

```json
[
  {
    "id": "string",
    "wheelhouse_id": 0,
    "base_min_night_stay": 0,
    "currency": "string",
    "title": "string",
    "owner_name": "string",
    "description": "string",
    "nickname": "string",
    "num_bathrooms": 0,
    "num_bedrooms": 0,
    "room_type": "string",
    "property_type": "string",
    "is_active": true,
    "channel_ids": {},
    "location": {},
    "access_level": "string",
    "amenities": [
      "string"
    ],
    "num_beds": 0,
    "num_reviews": 0,
    "star_rating": 0,
    "num_photos": 0,
    "security_deposit": 0,
    "source_user_id": "string",
    "thumb_url": "string",
    "listing_preferences": {},
    "meta": {},
    "market_id": 0,
    "market_name": "string",
    "channel": "string",
    "links": {},
    "wheelhouse_created_at": "2026-01-01T00:00:00Z"
  }
]
```

### 400

Validation failed

### 401

API key authorization failed

### 403

Insufficient permissions to manage this set

### 404

Dynamic set or listing not found

### 422

Missing channel parameter (channel must be provided when no channel is implied by the integration key)
