Skip to content

Delete Contractor Document

Permanently delete a document attached to a contractor record. This is a hard delete and cannot be undone. Requires the CONTRACTOR_MANAGEMENT feature flag and ADMIN or MANAGE_CONTRACTORS permissions.

Parameters

name * are required parametersdata typedescription
contractorId*stringThe unique identifier of the contractor
documentId*stringThe unique identifier of the document to delete

Return Value

json
{
  "statusCode": 201,
  "data": null,
  "message": "Contractor document deleted successfully"
}

Examples

bash
curl -X DELETE "https://app.wombat.software/api/{targetPath}/contractor/:contractorId/document/:documentId" \
  -H "Content-Type: application/json" \
  -H "Authentication: Bearer ..."

ENDPOINTS

delete/api/{targetPath}/contractor/:contractorId/document/:documentId