Skip to main content
POST
Delete Inactive Prospects In List

Authorizations

X-API-Key
string
header
required

API Key for authentication

Body

application/json
variant
enum<string>
required

Scope of the operation. all — all visible prospects. list — a specific prospect list (use together with listId). campaign — every list in a campaign (use together with campaignId).

Available options:
all,
list,
campaign
listId
string<uuid>

Prospect list id — scopes the delete to a single list.

campaignId
string<uuid>

Campaign id — scopes the delete to every list in the campaign when listId is not provided.

Response

status
enum<string>
required

Response status

Available options:
success
data
any | null
required

No response payload

Available options:
null
Example:

null

message
string
required

Success message

Example:

"Operation completed successfully"