Skip to content

Remove Contractor

Permanently delete 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 to delete

Return Value

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

Examples

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

ENDPOINTS

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