---
title: "Set deceased info"
method: PUT
path: "/cases/{case_id}/deceased"
tags: ["Deceased"]
---

# Set deceased info

`PUT /cases/{case_id}/deceased`

## Request

- Base URL: `https://api.example.com/v1`
- URL: `https://api.example.com/v1/cases/{case_id}/deceased`
- Auth: none declared

Create or replace the deceased person's information. Full SSN is accepted but will be masked in subsequent GET responses.

## Request body

- DeceasedWrite
  - `first_name` string, required
  - `middle_name` string
  - `last_name` string, required
  - `date_of_birth` string, date, required
  - `date_of_death` string, date, required
  - `ssn` string: Full SSN (9 digits, no dashes).
  - `address` Address
    - `address1` string
    - `address2` string, nullable
    - `city` string
    - `state` string
    - `zip` string
  - `email` string, email
  - `verification_level` 'level_0' | 'level_1' | 'level_2' | 'level_3'

## Response `200`

Deceased info set.

- object
  - `data` Deceased
    - `full_name` string
    - `first_name` string
    - `middle_name` string, nullable
    - `last_name` string
    - `date_of_birth` string, date
    - `date_of_death` string, date
    - `ssn` string: Masked in responses (last 4 digits only). Full SSN accepted on writes.
    - `address` Address
      - `address1` string
      - `address2` string, nullable
      - `city` string
      - `state` string
      - `zip` string
    - `email` string, email, nullable
    - `verification_level` 'level_0' | 'level_1' | 'level_2' | 'level_3'

## Other responses

- `404`: Resource not found.
- `422`: Request validation failed.

---

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