POST /api/v1/entities/{name}/bulk-delete
Bulk Delete
Delete many rows — PROD rows without approval are blocked.
Auth: Authorization: Bearer <token> required
Request
Section titled “Request”curl -sS -X POST "https://entherium.duckdns.org:8443/api/v1/entities/<name>/bulk-delete" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{"guids":[31567,31568]}'Response 200
Section titled “Response 200”The contract carries no example for this response; schema: BulkDeleteResponse. Field-level shape: interactive explorer.
Returns
Section titled “Returns”BulkDeleteResponse — Successful Response
| Field | Type | Description |
|---|---|---|
blocked | array of BulkBlockedItem | |
deleted | integer |
Parameters
Section titled “Parameters”| Parameter | In | Required | Type | Default | Constraints | Description |
|---|---|---|---|---|---|---|
name | path | yes | string | — | — | |
x-prod-approval | header | no | string | null | — | — | Production guard. |
Idempotency-Key | header | no | string | — | uuid | Optional. |
Request body
Section titled “Request body”| Field | Type | Required | Description |
|---|---|---|---|
guids | array of integer | yes |
Example:
{ "guids": [ 31567, 31568 ]}Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.