Auditmark

Delete finding

DELETE/findings/{finding_id}

Field delete for the findings review sheet's per-row bin.

Deliberately narrow: only the inspector who raised the finding, only while the inspection is still in progress. After submit/completion the finding is part of a record (and possibly a report), so removing it is back-office work, not a field action. Soft-delete throughout — the row survives for audit, and trg_dv_findings bumps the inspection's detail_version so every device's cache reconciles it away on the next pull.

Draft corrective actions cascade: they are A1's not-yet-real actions, invisible to queues and guests, so they die with the finding. Anything past draft (an admin already engaged with it, or promotion ran) blocks the delete instead — the field must not silently retract work someone else is acting on.

Authorization

OrgApiKey
AuthorizationBearer <token>

Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.

In: header

Path Parameters

finding_id*Finding Id

Response Body

application/json

curl -X DELETE "https://api.auditmark.io/v1/findings/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}