---
title: "Scope, approve or reject an erasure request"
method: PATCH
path: "/v1/records/erasure-requests/{id}"
tags: ["Records"]
---

# Scope, approve or reject an erasure request

`PATCH /v1/records/erasure-requests/{id}`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/records/erasure-requests/{id}`
- Auth: HTTP bearer

Sets the confirmed scope (per document: `redact`, `destroy` or `exempt`), or approves
(`action: approve`, needs a scope; the scope is frozen from then on) or rejects the
request. Approval and execution are separate calls.

Scope: `governance:write`. The person behind the credential needs the `data` permission
(Admins by default).

When the workspace requires step-up verification (archive settings `step_up_required`),
the person behind the credential must send a current six-digit code from their own
authenticator app in the `X-Step-Up-Code` header; a credential alone never passes this
check (403 `STEP_UP_REQUIRED`).

With governance on, a found document the person may not open shows `[document left out]` as
its `filename`.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Step-Up-Code` string

## Request body

- object
  - `scope` object
    - `documents` object[]
      - `document_id` string, uuid, required
      - `mode` 'redact' | 'destroy' | 'exempt', required
      - `note` string
      - `cells` object[]
        - `record_set_id` string, uuid
        - `record_id` string
        - `field_key` string
  - `exemption_notes` string
  - `action` 'approve' | 'reject'

## Response `200`

Scope, approve or reject an erasure request: done.

- union
  - object
  - unknown[]
    - unknown

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/records/erasure-requests/:id/patch.md)

---

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