Skip to main content

Smart Report を削除する

認証済みクライアントに属する SmartReport レコードを削除します。成功すると、API は削除された SmartReport ドキュメントを { "data": ... } 内に返します。

レポート 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 を削除しても、レポート配信または生成の Webhook は発行されません。ライフサイクルの自動化の詳細については、SmartReports Webhook および MCP と AI エージェント を参照してください。

関連項目​