Skip to main content
DELETE
Delete Custom Emission Factor

Delete Custom Emission Factor

Permanently delete a custom emission factor from a Custom Emission Group. This action cannot be undone.
Deleting a custom emission factor is permanent. If the factor is currently in use by purchases, wastes, or other records, this may affect historical data calculations. Consider archiving by setting end dates instead of deleting.

Request

Headers

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

Path Parameters

string
required
UUID of the Custom Emission Factor to deleteExample: "factor-uuid-here"

Response

Returns HTTP 204 No Content on successful deletion.

Example

Use Cases

Remove Outdated Factors

Delete factors that are no longer relevant:

Safe Delete with Confirmation

Always fetch and confirm before deleting:

Bulk Delete by Criteria

Delete multiple factors matching certain criteria:

Common Errors

404 Not Found

Cause: Custom emission factor not found
Solution: The factor may have already been deleted, or the ID is incorrect. Verify the factor exists first.

403 Forbidden

Cause: Insufficient permissions
Solution: Ensure you have permission to delete factors for this organization.

Best Practices

1. Archive Instead of Delete

For factors with historical usage, consider setting an end date instead of deleting:
Note: The API doesn’t allow updating factor_end_date via PATCH. If you need to archive, you must delete and recreate with the updated date, or simply delete if no longer needed.

2. Audit Before Deleting

Check if factor is in use before deletion:

3. Clean Up Empty Groups

After deleting factors, check if the group is empty:

4. Log Deletion Actions

Maintain audit logs of deletions:

Get Factor

View before deleting

List Factors

View all factors in group

Create Factor

Add new factor

Overview

Learn about custom factors