---
title: "Update or terminate a member"
method: PATCH
path: "/groups/{groupId}/members/{memberId}"
tags: ["Census"]
---

# Update or terminate a member

`PATCH /groups/{groupId}/members/{memberId}`

Updates member fields. Terminate with `{ "status": "terminated", "terminationDate": "...", "cobra": true }`. After enrollment, changes propagate to the live company census; `cobra: true` keeps the member covered under COBRA continuation.

## Path parameters

- `groupId` string, required
- `memberId` string, required

## Request body

- CensusMemberUpdate — Partial update: send only the fields you are changing. Terminate with `status: "terminated"` plus optional `terminationDate` and `cobra`.
  - `externalId` string — Your employee ID. Used as the upsert key when `email` is absent.
  - `firstName` string
  - `lastName` string
  - `email` string, email — Upsert key when present.
  - `dob` string, date
  - `age` integer — Alternative to `dob`. One of the two is required.
  - `zip` string — 5-digit home ZIP. Drives the area factor in rating.
  - `sexAtBirth` 'male' | 'female' | 'other'
  - `employmentType` 'full_time' | 'part_time' | 'contractor'
  - `hireDate` string, date
  - `status` 'active' | 'terminated'
  - `dependents` Dependent[]
    - `relationship` 'spouse' | 'domestic_partner' | 'child' | 'other', required
    - `dob` string, date
    - `name` string
  - `terminationDate` string, date
  - `cobra` boolean — Offer COBRA continuation on termination.

## Response `200`

Updated member.

- union
  - object
    - `memberId` string, required — Server-assigned ID. Use it for `PATCH /groups/{groupId}/members/{memberId}`.
  - object
    - `memberId` string, required — Server-assigned ID. Use it for `PATCH /groups/{groupId}/members/{memberId}`.

## Other responses

- `400` — Validation failed.
- `401` — Missing, malformed, or revoked API key.
- `404` — No such resource in this mode. Test keys only see test resources; live keys only see live resources.
- `429` — Rate limit exceeded. Honor `Retry-After`.
- `500` — Something failed on our side. Safe to retry with the same `Idempotency-Key`.

---

[API](https://skmtc.dev/getprescience/apis/prescience-partner-api.md) · [All operations](https://skmtc.dev/getprescience/apis/prescience-partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getprescience/prescience-partner-api/revisions/eb1f377f8139/schema)
