Bulk delete contacts
Permanently deletes multiple contacts by ID, returning counts of deleted and failed records. One request carries at most 1000 ids.
POST
Permanently deletes multiple contacts by ID, returning counts of deleted and failed records. One request carries at most 1000 ids.
apiKeyheader
x-api-key<token>application/json- body
ids*array<>Items
1 <= items <= 1000Success
application/json- response
deleted*integerRange
0 <= value <= 9007199254740991failed*integerRange
0 <= value <= 9007199254740991import { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.contacts.bulkDelete({ "ids": [ "example" ]});Example Response
{ "deleted": 0, "failed": 0}