Skip to content

MaintenanceThe former company search endpoint goes into maintenance on November 9Migration guide

Endpoints // Lists

Remove members

New

Last verified

Available inAPIMCPSDK

Take members out of a List with their stored data, or dismiss Pending Intake lines, for free.

DELETE/v2/lists/:listId/members

Credits

Free.

Introduction

The Remove members endpoint takes List Members out of a List, with the data the List stored for them, and dismisses Pending Intake lines. Removing members never dismisses Pending Intake: send the pendingIds of the lines you want gone.

Removing is free (0 credits), and nothing is refunded: credits spent on a member stay spent. A person removed then added again is charged again at the price of its Signal.

The API key needs the lists permission (see API key management).

Authorization

NameTypeRequiredDescription
apikeystringYesYour API key from the developer dashboard. Pass it via Authorization: Bearer YOUR_API_KEY header.

Request body

The List is named in the path: DELETE /v2/lists/:listId/members. Send at least one id in either array, and at most 25,000 ids in both together.

NameTypeRequiredDescription
memberIdsstringConditionalMember ids (UUID) to remove, the id of rows with kind: "member"
pendingIdsstringConditionalPending Intake ids (UUID) to dismiss, the id of rows with kind: "pending"

Response structure

FieldTypeDescription
successbooleantrue if the request was processed
errornullAlways null on success
dataobject

What was removed

Show child attributes
FieldTypeDescription
removednumberMembers removed
dismissednumberPending Intake lines dismissed

An id that is not on the List is left out of the counts. quotas and metadata are the blocks of every V2 response: see Usage.

Errors

StatusCodeMeaning
400LIST_INVALID_INPUTNeither memberIds nor pendingIds holds an id, or they hold more than 25,000 ids together
404LIST_NOT_FOUNDNo List with this id in your workspace
404LISTS_NOT_ACTIVATEDThe workspace has never had a List
422VALIDATION_ERRORAn id is not a UUID

Code examples

Code Examples

curl -X DELETE https://api.reversecontact.com/v2/lists/3f6c2a8e-1b4d-4f0a-9c7e-5d2b8a1e6f40/members \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "memberIds": ["9b1e4c7a-2d3f-4e8a-b6c5-0a1f2e3d4c5b"],
    "pendingIds": ["7e8f9a0b-1c2d-4e3f-8a4b-5c6d7e8f9a0b"]
  }'

Example response

200 - Success

Example Response

{
  "success": true,
  "data": {
    "removed": 1,
    "dismissed": 1
  },
  "error": null,
  "quotas": {
    "creditsConsumed": 0,
    "workspace": {
      "id": "ws_abc123",
      "credits": { "total": 10000, "used": 4522, "left": 5478 }
    }
  },
  "metadata": {
    "requestId": "req_r1e2m3o4v5e6",
    "executionTimeMs": 33
  }
}