Skip to main content
DELETE
/
companies
/
{companyId}
/
employees
/
{employeeId}
Remove employee
curl --request DELETE \
  --url https://pre-public-api.cobee.io/api/v3/companies/{companyId}/employees/{employeeId} \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Overview

This endpoint allows you to remove an employee from the Cobee system. When an employee is removed:
  • Their current balance in both “Allowance” and “Accumulated” categories will be preserved in their employee balance
  • They will no longer be able to consume any “Flex” benefits
  • The employee’s historical data and transactions will be maintained in the system
Note: The employee is not permanently deleted from the system. They will no longer receive any further funds from the company. Depending on your company’s configuration, the employee may still be able to consume any remaining balance they have accumulated.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

companyId
string<uuid>
required

The unique identifier of the company

employeeId
string<uuid>
required

The unique identifier of the employee

Response

Employee successfully removed