---
title: "Execute a GDPR right-to-erasure for a data subject (redact/delete per declared policy)"
method: POST
path: "/admin/erasure"
tags: ["Erasure"]
---

# Execute a GDPR right-to-erasure for a data subject (redact/delete per declared policy)

`POST /admin/erasure`

## Request

- Base URL: `https://sdukstudio.com/api`
- URL: `https://sdukstudio.com/api/admin/erasure`
- Auth: HTTP bearer

## Request body

- object
  - `entity` string, required
  - `id` integer, required
  - `reason` string

## Response `200`

Erasure summary (tables touched + counts; never the erased values)

- object

## Other responses

- `400`: Validation error
- `403`: Forbidden
- `404`: No such data subject

---

[API](https://skmtc.dev/sdukstudio/apis/sduk-studio-info-site-api.md) · [All operations](https://skmtc.dev/sdukstudio/apis/sduk-studio-info-site-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sdukstudio/apis/sduk-studio-info-site-api/revisions/d7877b33dad3?raw)
