cURL
curl --request POST \ --url https://api.example.com/websites/delete \ --header 'Content-Type: application/json' \ --data ' { "id": "<string>" } '
{ "success": true, "error": "<string>" }
Soft-deletes a website (project) and stops tracking
delete
true
clientId
curl -X POST https://api.databuddy.cc/websites/delete \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "id": "web_xyz789" }'
{ "success": true }
{ "error": "Website not found", "code": "NOT_FOUND" }