Skip to main content
DELETE
Delete Waste Water Treatment

Delete Waste Water Treatment

Permanently delete a specific waste water treatment record. This action cannot be undone.
Deleting a waste water treatment record is permanent and will affect your facility’s emission calculations and historical data.

Request

Headers

x-api-key
string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
x-organization-id
string
required
Your organization UUIDExample: ff4adcc7-8172-45fe-9cf1-e90a6de53aa9
x-user-id
string
required
Your user UUIDExample: a1b2c3d4-e5f6-7890-abcd-ef1234567890

Path Parameters

waste_water_treatment_id
string
required
UUID of the waste water treatment record to deleteExample: "treatment-uuid-here"

Response

Returns HTTP 204 No Content on successful deletion.

Example

Use Cases

Delete Erroneous Records

Remove incorrectly uploaded records:

Bulk Delete by Date Range

Delete multiple records from a specific period:

Safe Delete with Confirmation

Implement confirmation before deletion:

Common Errors

404 Not Found

Cause: Waste water treatment not found
Solution: The treatment record may have already been deleted, or the ID is incorrect.

403 Forbidden

Cause: Insufficient permissions
Solution: Ensure the treatment belongs to your organization and you have permission to delete it.

Best Practices

1. Confirm Before Deleting

Always confirm deletion, especially for production data:

2. Log Deletions

Maintain audit logs of deletions:

3. Re-upload Instead of Edit

Since there’s no UPDATE endpoint, delete and re-upload to correct errors:

Bulk Upload

Create treatment records

Facilities

List waste water facilities