Skip to main content
POST
/
v1
/
company-members
/
{company_member_id}
/
deactivate
Terminate an employee
curl --request POST \
  --url https://api.vitablehealth.com/v1/company-members/{company_member_id}/deactivate \
  --header 'Content-Type: application/json' \
  --header 'X-Partner-API-Key: <api-key>' \
  --data '
{
  "termination_date": "2023-12-25"
}
'
{}

Authorizations

X-Partner-API-Key
string
header
required

Partner API key for external integrations

Path Parameters

company_member_id
string<uuid>
required

Unique identifier for the employee to terminate

Body

application/json

Request to terminate/deactivate an employee

termination_date
string<date>
required

Date when the employee's termination becomes effective

Response

200

Employee terminated successfully