Permanently remove an expediente record from Monitor API. This action is irreversible and is restricted exclusively to users with theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/sheeplettuce/Monitor/llms.txt
Use this file to discover all available pages before exploring further.
Administrador role. The delete is wrapped in a database transaction so that all related records are removed atomically — either everything is deleted or nothing is.
Endpoint
Administrador only.
Path parameter
The unique claim number of the expediente to permanently delete (e.g.
SIN-2024-001). Returns 400 if the segment is missing or empty.Request
No query parameters or request body.Response — 200 OK
Returns a confirmation object. Note that this is200, not 204 — a body is included so clients can confirm which record was removed.
Always
true when the deletion succeeded.The siniestro number that was deleted, echoed back for confirmation.
Example response body
Error responses
| Status | Body | Cause |
|---|---|---|
400 | { "error": "No. Siniestro requerido" } | The :no_siniestro path segment is missing |
401 | { "error": "Token requerido" } | No Authorization header provided |
401 | { "error": "Token inválido o expirado" } | JWT verification failed |
403 | { "error": "Acceso restringido a administradores" } | Authenticated user is not an Administrador |
404 | { "error": "Expediente no encontrado" } | No record with that no_siniestro exists |
500 | { "error": "Error interno al eliminar expediente" } | Database or internal server error — the transaction was rolled back; no data was changed |