---
title: "DELETE /public/v1/warmlist/{workspaceId}/prospects"
method: DELETE
path: "/public/v1/warmlist/{workspaceId}/prospects"
tags: ["Warm List"]
---

# DELETE /public/v1/warmlist/{workspaceId}/prospects

`DELETE /public/v1/warmlist/{workspaceId}/prospects`

## Request

- Base URL: `https://api.joinvalley.co`
- URL: `https://api.joinvalley.co/public/v1/warmlist/{workspaceId}/prospects`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/joinvalley/apis/valley-public-api/docs/public/v1/warmlist/:workspaceId/prospects/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete warmlist prospects by ID list or by filter (selectAll). When selectAll is true, engagementType is required.

## Path parameters

- `workspaceId` string, required

## Request body

- object
  - `prospectIds` string[]: Specific prospect IDs to delete.
  - `selectAll` boolean: Delete all prospects matching the filters below.
  - `engagementType` string: Required when selectAll is true. One of: NEW_FOLLOWERS, PROFILE_VIEWERS, POST_ENGAGEMENTS.
  - `monitoredProfileId` string: Only for POST_ENGAGEMENTS.
  - `postId` string: Only for POST_ENGAGEMENTS.
  - `postEngagementType` string: COMMENT or REACTION. Only for POST_ENGAGEMENTS.
  - `icpFit` string[]: Filter by ICP fit: LOW, MEDIUM, HIGH.
  - `profilePrivacy` string: "open" or "closed".

## Response `200`

Default Response

- object
  - `statusCode` number
  - `status` boolean
  - `message` string
  - `data` object
    - `total_deleted` number
    - `total_requested` number

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `429`: Default Response
- `500`: Default Response

---

[API](https://skmtc.dev/joinvalley/apis/valley-public-api.md) - [All operations](https://skmtc.dev/joinvalley/apis/valley-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/joinvalley/apis/valley-public-api/revisions/798c2eb1b512?raw)
