Skip to main content
POST
Preview member removal

Authorizations

Authorization
string
header
required

JWT authentication token

Body

application/json
email
string<email>
required

Email of the member to remove

expected_transfer
object

The preview the caller approved. When set, removal returns 409 if more work would move than it lists, or a different admin would receive it.

transfer_ownership
boolean

Confirms moving the member's team work to an admin. true moves it; false returns 409 when the member owns any. Omitted is treated as true for one release, with a deprecation warning logged (compatibility for clients that send only the email); a later release will require it.

Response

What removing the member would transfer

projects
integer<int64>
required

Projects the member owns that were created since they joined, or are shared with the team

schedules_paused
integer<int64>
required

The member's other active schedules created since they joined; these are paused, not moved

schedules_transferred
integer<int64>
required

Schedules inside the team's projects

tasks
integer<int64>
required

Tasks the member created in the team's projects

transfer_to
string<email>

Admin who receives the work. Absent when the team has no other active admin.