Skip to main content

Smart Report 삭제

인증된 클라이언트에 속한 SmartReport 레코드를 삭제합니다. 성공 시 API는 { "data": ... } 안에 삭제된 SmartReport 문서를 반환합니다.

리포트 ID가 없거나 다른 클라이언트에 속한 경우, 이 엔드포인트는 404 Not Found({ "message": "not_found", "code": "NotFound" })를 반환합니다. 리포트를 삭제하면 SmartReport 문서만 제거되며 기반이 되는 SmartBatch 검증 데이터는 삭제되지 않습니다.

엔드포인트​

DELETE https://api.verifik.co/v2/smart-reports/{id}

이 엔드포인트는 본인의 클라이언트별 Authorization: Bearer <VERIFIK_JWT>를 사용하여 Smart-Agent 프록시(https://ai.verifik.co/v2/smart-reports/{id})를 통해서도 호출할 수 있습니다. 공유 x402 실행은 403 Forbidden으로 차단됩니다.

헤더​

이름값설명
Content-Typeapplication/json요청 페이로드 형식.
AuthorizationBearer <VERIFIK_JWT>클라이언트 범위 JWT (authUser.clientId).

매개변수​

이름타입필수설명
idstring예삭제할 SmartReport ObjectId.

요청​

import axios from "axios";

const run = async () => {
const id = "6801a2b3c4d5e6f7a8b9c0d1";
const { data } = await axios.delete(`https://api.verifik.co/v2/smart-reports/${id}`, {
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_JWT}`,
},
});

console.log(data);
};

run();

응답​

{
"data": {
"_id": "6801a2b3c4d5e6f7a8b9c0d1",
"template": "6801a2b3c4d5e6f7a8b9c0d2",
"smartBatch": "6801a2b3c4d5e6f7a8b9c0d3",
"name": "Background Check - Applicant 42",
"status": "generated",
"externalRefId": "applicant-42",
"rowIndex": 0,
"createdByChannel": "api",
"createdAt": "2026-11-24T20:00:00.000Z",
"updatedAt": "2026-11-24T20:00:04.000Z"
}
}

참고 사항​

  • 삭제 후 GET /v2/smart-reports/{id} 호출은 { "data": null }을 반환하며, PUT, DELETE, /generate, /download, /html, /send-email 호출은 404 (not_found)를 반환합니다.
  • SmartReport 삭제는 리포트 전송 또는 생성 웹훅을 발송하지 않습니다. 수명 주기 자동화 세부 정보는 SmartReports 웹훅 및 MCP 및 AI 에이전트를 참조하세요.

관련 문서​