Allmine API
Contacts

İletişim kaydını sil

**Production uyarisi:** Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin. Belirtilen ID'ye sahip iletişim kaydını siler.

DELETE
/api/v1/contacts/{id}

Production uyarisi: Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin.

Belirtilen ID'ye sahip iletişim kaydını siler.

Path Parameters

id*string

İletişim kaydı benzersiz kimliği

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/v1/contacts/507f1f77bcf86cd799439011"
{
  "isSuccess": true,
  "statusCode": 200,
  "data": {
    "name": "John",
    "surname": "Doe",
    "email": "[email protected]",
    "description": "Software engineer with 5+ years experience",
    "createdAt": "2024-01-01T00:00:00.000Z",
    "updatedAt": "2024-01-01T00:00:00.000Z",
    "_id": "507f1f77bcf86cd799439011"
  },
  "errors": [],
  "timestamp": "2026-05-22T16:11:27.386Z"
}
{
  "isSuccess": false,
  "statusCode": 400,
  "data": null,
  "errors": [
    "Validation failed"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 404,
  "data": null,
  "errors": [
    "Resource not found"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 409,
  "data": null,
  "errors": [
    "Resource already exists or cannot be changed in its current state"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}