PUT /admin/compliance/gdpr/right-to-erasure/{decision_id}
Update processing status of an erasure request
Compliance Management - Erasure `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
erasure ID |
Request Body
Schema: dto.UpdateErasureRequest
| Field | Type | Required | Example | Constraints | Description |
status |
string |
Yes |
completed |
enum: `pending`, `processing`, `completed`, `rejected` |
New Status |
Referenced Schemas
dto.ErasureItem
Data deletion request record
| Field | Type | Required | Example | Constraints | Description |
completed_at |
string |
No |
2026-04-20T14:00:00Z |
|
Completion time |
created_at |
string |
No |
2026-04-15T10:00:00Z |
|
Creation time |
data_categories |
array of
string |
No |
['["profile"', '"history"]'] |
|
Data category |
id |
string |
No |
erasure_001 |
|
Deletion request ID |
reason |
string |
No |
Account no longer in use |
|
Deletion reason |
status |
string |
No |
processing |
|
Status |
user_id |
string |
No |
usr_abc123 |
|
User ID |
dto.ErasureItemResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.ErasureItem |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
400 |
|
|
message |
string |
No |
invalid request |
|
|