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

Overview

This endpoint allows you to block an employee in the Cobee system. You can call this endpoint multiple times for the same employee. Each new call will overwrite the previous block date with the current timestamp at the moment of the call.
Note: Blocking an employee prevents them from using their benefits, but they will still have access to the Cobee app and their historical data.

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 blocked