DELETE
/
v1
/
Outbound
/
{outboundId}
/
Leads
curl --request DELETE \
  --url https://api.nlpearl.ai/v1/Outbound/{outboundId}/Leads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "leadIds": [
    "<string>"
  ]
}'
true

Authorizations

Authorization
string
header
required

Specify the authorization token.

For more information, check out the Authorization Guide.

Path Parameters

outboundId
string
required

The unique identifier of the outbound campaign from which the leads should be deleted.

Body

The request object containing the list of lead IDs to be deleted.

Represents the request object for deleting one or more leads associated with an outbound campaign.

leadIds
string[] | null

A list of lead IDs to be deleted.

Response

200
text/plain
Returns a boolean indicating if the deletion was successful.

The response is of type boolean.