SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
My Leads

Delete several leads

Permanently delete the leads whose ids you send. Unknown ids are ignored.

POSThttps://app.softsolz.uk/api/v1/services/my-leads/leads/bulk-delete

Recent Requests

Kept only in this browser
TimeStatusTook
Send a request with Try it to see it here.

Headers

Authorizationstringrequired

Bearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Body Params

idsarray of integersrequired

Lead ids to delete.

Response

Response Body

deletedintegerHow many leads were removed.

Request

curl --request POST \
--url https://app.softsolz.uk/api/v1/services/my-leads/leads/bulk-delete \
--header 'Authorization: Bearer sk_live_your_key' \
--header 'Content-Type: application/json' \
--data '{
"ids": [
42,
43
]
}'

Credentials

Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.

Response · 200

{
"data": {
"deleted": 2
}
}