Delete several leads
Permanently delete the leads whose ids you send. Unknown ids are ignored.
POST
https://app.softsolz.uk/api/v1/services/my-leads/leads/bulk-deleteRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Headers
AuthorizationstringrequiredBearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.
Idempotency-KeystringOptional idempotency key for safe retries.
Body Params
idsarray of integersrequiredLead 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 }}