Skip to main content
DELETE
Delete Employee

Delete Employee

Permanently delete an employee from your organization. This will also remove all associated commuting periods and their CO2e data.
Irreversible Action: Deleting an employee permanently removes all their data, including commuting history and emissions calculations. Consider updating the situation to terminated instead if you want to preserve historical data.

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 employee to deleteExample: 550e8400-e29b-41d4-a716-446655440000

Response

Returns 204 No Content on successful deletion. No response body is returned.

Example

Successful Response

No response body is returned.

Common Errors

401 Unauthorized

Cause: Missing or invalid API key
Solution: Verify your API key is valid and active.

404 Not Found

Cause: Employee not found or doesn’t belong to your organization
Solution: Verify the employee ID is correct and belongs to your organization.

Use Cases

Delete Single Employee

Remove an employee from the system:

Delete with Confirmation

Verify before deleting:

Bulk Delete Employees

Delete multiple employees:

Delete Terminated Employees

Clean up terminated employees:

Best Practices

Consider Alternatives

Before deleting, consider:
  1. Update to Terminated: Set situation: "terminated" to preserve historical data
  2. Archive Data: Export employee data before deletion for records
  3. Verify Impact: Check if the employee’s CO2e data is needed for reports

Preserve Historical Data

If you need to keep emissions records:

Update Employee

Modify employee (e.g., set as terminated instead of deleting)

List Employees

View all employees

Create Employee

Add a new employee

Get Employee

View employee details before deleting