ObertObert
Leads

Delete Leads Endpoint

Permanently delete leads and all associated data.

POST
/api/leads/delete
AuthorizationBearer <token>

In: header

Header Parameters

x-tenant-id?string|null
lead_idsLead Ids

Response Body

application/json

application/json

curl -X POST "https://api.obert.io/api/leads/delete" \  -H "Content-Type: application/json" \  -d '{    "lead_ids": [      "string"    ]  }'
{
  "deleted": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}