Skip to main content
DELETE
Delete Commuting Period
← Employees API
Deprecated. Use POST /v2/employees/commuting/delete: many commuting periods per request by id, idempotent, deleted asynchronously as an ingest job, with webhooks. This endpoint keeps working; its responses carry Deprecation and Link: </v2/employees/commuting/delete>; rel="successor-version" headers. A removal date (Sunset) will be announced in the changelog with notice.
Permanently delete a commuting period. This will remove the period’s CO2e contribution from the employee’s total emissions.
Irreversible Action: Deleting a period permanently removes the commuting data and its CO2e calculations.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Path Parameters

string
required
The unique identifier (UUID) of the commuting period to deleteExample: 660e8400-e29b-41d4-a716-446655440000

Response

Returns 204 No Content on successful deletion.

Example

Successful Response

Common Errors

404 Not Found

Cause: Period not found

Use Cases

Delete Incorrect Period

Replace Period (Delete + Create)

Create Period

Add new period

List Periods

View all periods