# Enrolled people and deletion

> See who's enrolled, honour withdrawals and erasure requests, and how face data is deleted.

Source: https://docs.faceping.ai/people/

## List enrolled people

[GET /v1/lists/{listId}/people](https://docs.faceping.ai/reference/#tag/people/GET/v1/lists/{listId}/people)

With a sandbox key this is your practice list (`sandbox: true` on the list): up to 25 people, each face deleted 24 hours after enrolment, whatever the list's own end date or maximum age (each person's `deleteAfter` says when). Enrolling someone again starts their 24 hours afresh. Returns `people`: each person's `personId` (your ID for them: a ticket or membership number), when and how they enrolled (`enrolledAt`, and `source`: `Widget`, `Dashboard` or `Api`), their `consentVersion`, whether they're under 16 and when their face will be deleted (`deleteAfter`), never face data. Newest first, 100 per page (`?page=2` for the next); `total` is how many there are. `?search=` matches part of a `personId`.

## Look up one person

Whether someone is enrolled, and when their face will be deleted: the same fields as above, for one `personId`, or `404` with a message when no one with that `personId` is enrolled. URL-encode the `personId` in the path; a slash works encoded (`%2F`) or as it is. Server-side enrolment's `201` response points here in its `Location` header.

[GET /v1/lists/{listId}/people/{personId}](https://docs.faceping.ai/reference/#tag/people/GET/v1/lists/{listId}/people/{personId})

## Remove someone

When a person withdraws consent, asks for their data to be erased or leaves (a member, a member of staff), remove them. It takes effect immediately; check-in devices drop their face at their next sync. URL-encode the `personId` in the path (a slash works encoded or as it is). `204` means removed; `404` means no one with that `personId` is enrolled on the list.

[DELETE /v1/lists/{listId}/people/{personId}](https://docs.faceping.ai/reference/#tag/people/DELETE/v1/lists/{listId}/people/{personId})

## Deletion is automatic

| What | Deleted |
| --- | --- |
| The photo | Straight away; it is never stored |
| Face templates and consent records | List with an end date: list end + `retentionDays` (0 to 30, default 7). Ongoing list: `maxAgeMonths` (1 to 36) after the person enrolled. Each person's `deleteAfter` shows the date |
| Copies on check-in devices | At the same time (even offline), or when you revoke the device |
| A person's previous face template | Immediately when they enrol again under the same `personId` (logged as `Replaced`) |
| Everything for a list | Immediately when you delete the list |

[DELETE /v1/lists/{listId}](https://docs.faceping.ai/reference/#tag/check-in-lists/DELETE/v1/lists/{listId})

Every deletion is recorded in your **deletion log** (Dashboard → Data & compliance, in the sandbox too): what was deleted, from which list (by name, kept after the list itself is deleted), when and why, never who. Use it to show a regulator, or the person themselves, that retention is enforced.

## Usage and billing

You pay for each person stored with FacePing in a month. A person counts if their face is still stored at the end of the month, or if they were enrolled and deleted within it, so removing someone doesn't take them off that month's bill, and nobody counts twice in a month. Billing records hold no face data. See [**Dashboard → Billing**](https://app.faceping.ai/billing) for this month's people so far and the per-list breakdown, and [Plans and billing](https://docs.faceping.ai/billing/) for the plans.
