Skip to main content
DELETE
← Custom Emission Factors Deletes a record that no data uses. Returns 204 No Content.
Beta. Part of the custom emission factors API, currently in beta. The contract may still change before general availability.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa
uuid
required
The database id.Example: 5f1c2e7a-3b4d-4e8f-9a01-2c3d4e5f6a7b
uuid
required
The version id (id of the version).Example: 7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d
uuid
required
The record id.Example: c3d4e5f6-a7b8-9012-cdef-ab3456789012

Response

Returns 204 No Content on success.

Common Errors

401 Unauthorized

Missing or invalid API key.

403 Forbidden

LOGGED_USER_NOT_MEMBER: the API key’s user is not a member of the organization in x-organization-id.

404 CUSTOM_RECORD_NOT_FOUND

The record does not exist in that version or is not visible.

403 CUSTOM_DATABASE_NOT_OWNER

Only the organization that owns the database can delete its records.

409 CUSTOM_RECORD_IN_USE

Data already uses the record. Disable it instead with Update Record ("enabled": false).

Update Record

Disable a record instead

List Records

Records of a version