---
title: "Record departures"
method: POST
path: "/team/departures"
tags: ["team"]
---

# Record departures

`POST /team/departures`

## Request

- Base URL: `https://localhost:4410/api/v1`
- URL: `https://localhost:4410/api/v1/team/departures`
- Auth: HTTP bearer

Records the last day and who ended it (resigned or company) for one or more people on Team (up to 100). It stays private to owners and admins until team.departure.send announces it, or until the last day passes. Opens a final pay task due on the last day, ends a member's access after the last day (remove_access, on by default; an owner's stays until another owner removes them), and with letter_template_id fills each departure letter from the company's confirmed template (the last day, vested options and the exercise deadline from the cap table) as a draft envelope. A letter that names when health benefits end gets ESIGN's exclusion and a task to send that notice on paper. cancel_unvested drafts the cancellation of unvested options when it's announced, unless service_continues.

## Request body

- object
  - `departures` object[], required
    - `party_id` string, required
    - `last_day` string, date, required
    - `ended_by` 'resigned' | 'company', required
    - `remove_access` boolean
    - `service_continues` boolean
    - `cancel_unvested` boolean
    - `note` string
  - `letter_template_id` string, nullable

## Response `200`

The result.

- object
  - `departures` object[], required
    - `id` string, required
    - `party_id` string, required
    - `name` string, required
    - `last_day` string, date, required
    - `envelope_id` string, nullable, required
    - `paper_notice` boolean, required
    - `access_ends` boolean, required

## Other responses

- `default`: An RFC 9457 problem.

---

[API](https://skmtc.dev/binderwork/apis/binderwork-api.md) · [All operations](https://skmtc.dev/binderwork/apis/binderwork-api/llms.txt) · [OpenAPI document](https://skmtc.dev/binderwork/apis/binderwork-api/revisions/f8fab0ebee53?raw)
