Skip to main content
DELETE
/
customers
/
api
/
manage
/
{customerId}
curl -X DELETE "https://api.trusset.org/customers/api/manage/cust_abc123" \
  -H "X-API-Key: trusset_abc123xy_secret..."
{
  "success": true,
  "data": {
    "archived": true
  },
  "metadata": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2025-06-15T12:00:00.000Z"
  }
}
Archives a customer record. Archived customers are excluded from list queries by default but can be included by passing includeArchived=true. This is a soft delete - no data is permanently removed.

Path Parameters

customerId
string
required
Customer ID.

Response Fields

success
boolean
Request status
data
object
curl -X DELETE "https://api.trusset.org/customers/api/manage/cust_abc123" \
  -H "X-API-Key: trusset_abc123xy_secret..."
{
  "success": true,
  "data": {
    "archived": true
  },
  "metadata": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2025-06-15T12:00:00.000Z"
  }
}