1"use strict";(self.webpackChunkverifik_documentation=self.webpackChunkverifik_documentation||[]).push([["16426"],{46848(e,t,n){n.r(t),n.d(t,{metadata:()=>s,default:()=>p,frontMatter:()=>a,contentTitle:()=>o,toc:()=>h,assets:()=>d});var s=JSON.parse('{"id":"check-list/delete-a-check-list","title":"\u30C1\u30A7\u30C3\u30AF\u30EA\u30B9\u30C8\u3092\u524A\u9664","description":"\u81EA\u5206\u304C\u6240\u6709\u3059\u308B Check List \u3092\u524A\u9664\u3057\u3001\u524A\u9664\u3057\u305F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u53D7\u3051\u53D6\u308B","source":"@site/docs-ja/check-list/delete-a-check-list.mdx","sourceDirName":"check-list","slug":"/check-list/delete-a-check-list","permalink":"/verifik-ja/check-list/delete-a-check-list","draft":false,"unlisted":false,"editUrl":"https://github.com/Open-Verifik/verifik-documentation/tree/main/docs-ja/check-list/delete-a-check-list.mdx","tags":[],"version":"current","frontMatter":{"id":"delete-a-check-list","title":"\u30C1\u30A7\u30C3\u30AF\u30EA\u30B9\u30C8\u3092\u524A\u9664","description":"\u81EA\u5206\u304C\u6240\u6709\u3059\u308B Check List \u3092\u524A\u9664\u3057\u3001\u524A\u9664\u3057\u305F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u53D7\u3051\u53D6\u308B","slug":"/check-list/delete-a-check-list","keywords":["v2/check-lists/{id}","/v2/check-lists/{id}","v2/check-lists","/v2/check-lists","v2 check-lists","v2 check-lists {id}","api/check-lists","/api/check-lists","api check-lists","api.verifik.co/v2/check-lists/{id}","https://api.verifik.co/v2/check-lists/{id}","DELETE v2/check-lists/{id}","DELETE /v2/check-lists/{id}","check-lists","/check-lists"]},"sidebar":"tutorialSidebar","previous":{"title":"\u30C1\u30A7\u30C3\u30AF\u30EA\u30B9\u30C8\u3092\u66F4\u65B0","permalink":"/verifik-ja/check-list/update-a-check-list"},"next":{"title":"SmartEnroll API \u30B3\u30F3\u30D1\u30CB\u30AA\u30F3","permalink":"/verifik-ja/smartenroll/smartenroll-api-companion"}}'),r=n(74848),i=n(28453),c=n(50773),l=n(57250);let a={id:"delete-a-check-list",title:"\u30C1\u30A7\u30C3\u30AF\u30EA\u30B9\u30C8\u3092\u524A\u9664",description:"\u81EA\u5206\u304C\u6240\u6709\u3059\u308B Check List \u3092\u524A\u9664\u3057\u3001\u524A\u9664\u3057\u305F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u53D7\u3051\u53D6\u308B",slug:"/check-list/delete-a-check-list",keywords:["v2/check-lists/{id}","/v2/check-lists/{id}","v2/check-lists","/v2/check-lists","v2 check-lists","v2 check-lists {id}","api/check-lists","/api/check-lists","api check-lists","api.verifik.co/v2/check-lists/{id}","https://api.verifik.co/v2/check-lists/{id}","DELETE v2/check-lists/{id}","DELETE /v2/check-lists/{id}","check-lists","/check-lists"]},o,d={},h=[{value:"Endpoint",id:"endpoint",level:3},{value:"Headers",id:"headers",level:3},{value:"Parameters",id:"parameters",level:3},{value:"Request",id:"request",level:3},{value:"Response",id:"response",level:3},{value:"Notes",id:"notes",level:3}];function u(e){let t={a:"a",code:"code",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.p,{children:["\u81EA\u5206\u304C\u6240\u6709\u3059\u308B Check List \u3092\u524A\u9664\u3057\u307E\u3059\u3002API \u306F\u524A\u9664\u3057\u305F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092 ",(0,r.jsx)(t.code,{children:"{ data }"})," \u3067\u8FD4\u3057\u307E\u3059\u3002\u7121\u52B9\u306A ObjectId\u3001\u5B58\u5728\u3057\u306A\u3044\u30EA\u30B9\u30C8\u3001\u4ED6\u306E\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306E\u30EA\u30B9\u30C8\u306F ",(0,r.jsx)(t.code,{children:"404"})," \u3092\u8FD4\u3057\u307E\u3059\u3002"]}),"\n",(0,r.jsx)(t.p,{children:"\u524A\u9664\u306F\u7167\u4F1A\u3092\u5B9F\u884C\u305B\u305A\u3001\u30AF\u30EC\u30B8\u30C3\u30C8\u3082\u6D88\u8CBB\u3057\u307E\u305B\u3093\u3002\u540C\u3058\u30D5\u30A3\u30FC\u30C1\u30E3\u30FC\u30B3\u30FC\u30C9\u3092\u4F7F\u3063\u305F\u30AB\u30BF\u30ED\u30B0\u5C65\u6B74\u3068 SmartBatch \u30B8\u30E7\u30D6\u306F\u524A\u9664\u3055\u308C\u307E\u305B\u3093\u3002"}),"\n",(0,r.jsx)(t.h3,{id:"endpoint",children:"Endpoint"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{children:"DELETE https://api.verifik.co/v2/check-lists/{id}\n"})}),"\n",(0,r.jsxs)(t.p,{children:["\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306E\u30B3\u30EC\u30AF\u30B7\u30E7\u30F3\u304B\u3089\u30EA\u30B9\u30C8\u3092\u524A\u9664\u3057\u3001\u524A\u9664\u3055\u308C\u305F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u8FD4\u3057\u307E\u3059\u3002\u3053\u306E\u547C\u3073\u51FA\u3057\u306E\u3042\u3068\u3001\u540C\u3058 id \u3078\u306E G
1ET / PUT / DELETE \u306F ",(0,r.jsx)(t.code,{children:"404"})," \u3092\u8FD4\u3057\u307E\u3059\u3002"]}),"\n",(0,r.jsx)(t.h3,{id:"headers",children:"Headers"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Value"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Content-Type"}),(0,r.jsx)(t.td,{children:(0,r.jsx)(t.code,{children:"application/json"})})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Authorization"}),(0,r.jsx)(t.td,{children:(0,r.jsx)(t.code,{children:"Bearer <token>"})})]})]})]}),"\n",(0,r.jsxs)(t.p,{children:["\u30C8\u30FC\u30AF\u30F3\u306F ",(0,r.jsx)(t.strong,{children:"\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8 JWT"})," \u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",(0,r.jsx)(t.code,{children:"clientId"})," \u306E\u306A\u3044\u30C8\u30FC\u30AF\u30F3\u306F ",(0,r.jsx)(t.code,{children:"403"})," \u3092\u8FD4\u3057\u307E\u3059\u3002"]}),"\n",(0,r.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Required"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:(0,r.jsx)(t.code,{children:"id"})}),(0,r.jsx)(t.td,{children:"string"}),(0,r.jsx)(t.td,{children:"Yes"}),(0,r.jsx)(t.td,{children:"\u4F5C\u6210\u307E\u305F\u306F\u4E00\u89A7\u304B\u3089\u5F97\u305F Check List \u306E ObjectId\u3002"})]})})]}),"\n",(0,r.jsx)(t.h3,{id:"request",children:"Request"}),"\n",(0,r.jsxs)(c.A,{children:[(0,r.jsx)(l.A,{value:"node",label:"Node.js",children:(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-javascript",children:'const fetch = require("node-fetch");\n\nasync function run() {\n const id = "6aa224c87034a338385c28c0";\n const res = await fetch(`https://api.verifik.co/v2/check-lists/${id}`, {\n method: "DELETE",\n headers: {\n "Content-Type": "application/json",\n Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,\n },\n });\n console.log(await res.json());\n}\n\nrun();\n'})})}),(0,r.jsx)(l.A,{value:"php",label:"PHP",children:(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-php",children:'<?php\n$id = "6aa224c87034a338385c28c0";\n$ch = curl_init("https://api.verifik.co/v2/check-lists/" . $id);\ncurl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE");\ncurl_setopt($ch, CURLOPT_HTTPHEADER, [\n "Content-Type: application/json",\n "Authorization: Bearer " . getenv("VERIFIK_TOKEN")\n]);\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\necho curl_exec($ch);\n'})})}),(0,r.jsx)(l.A,{value:"python",label:"Python",children:(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-python",children:'import os, requests\n\ncheck_list_id = "6aa224c87034a338385c28c0"\nurl = f"https://api.verifik.co/v2/check-lists/{check_list_id}"\nheaders = {\n "Content-Type": "application/json",\n "Authorization": f"Bearer {os.getenv(\'VERIFIK_TOKEN\')}"\n}\nr = requests.delete(url, headers=headers)\nprint(r.json())\n'})})}),(0,r.jsx)(l.A,{value:"go",label:"Go",children:(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-go",children:'package main\n\nimport (\n "encoding/json"\n "fmt"\n "net/http"\n "os"\n)\n\nfunc main() {\n id := "6aa224c87034a338385c28c0"\n req, _ := http.NewRequest("DELETE", "https://api.verifik.co/v2/check-lists/"+id, nil)\n req.Header.Set("Content-Type", "application/json")\n req.Header.Set("Authorization", "Bearer "+os.Getenv("VERIFIK_TOKEN"))\n resp, _ := http.DefaultClient.Do(req)\n defer resp.Body.Close()\n var out map[string]interface{}\n json.NewDecoder(resp.Body).Decode(&out)\n fmt.Println(out)\n}\n'})})})]}),"\n",(0,r.jsx)(t.h3,{id:"response",children:"Response"}),"\n",(0,r.jsxs)(c.A,{children:[(0,r.jsx)(l.A,{value:"200",label:"200",children:(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-json",children:'{\n "data": {\n "_id": "6aa224c87034a338385c28c0",\n "client": "507f1f77bcf86cd799439013",\n "name": "KYC Colombia",\n "countries": ["Colombia", "Chile"],\n "domains": ["people"],\n "featureCodes": ["co-cedula"],\n "status": "draft",\n "createdAt": "2026-09-10T03:32:00.000Z",\n "updatedAt": "2026-09-10T03:33:00.000Z"\n }\n}\n'})})}),(0,r.jsx)(l.A,{value:"403",label:"403",children:(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-json",children:'{\n "message": "Client context required",\n "code": "Forbidden"\n}\n'})})}),(0,r.jsx)(l.A,{value:"404",label:"404",children:(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-json",children:'{\n "message": "check_list_not_found",\n "code": "check_list_not_found"\n}\n'})})})]}),"\n",(0,r.jsx)(t.h3,{id:"notes",children:"Notes"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:[(0,r.jsx)(t.code,{children:"200"})," \u306E\u672C\u6587\u306F\u524A\u9664\u3055\u308C\u305F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3067\u3042\u308A\u3001\u7A7A\u306E\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002"]}),"\n",(0,r.jsxs)(t.li,{children:["\u7121\u52B9\u306A ObjectId \u3068\u4ED6\u306E\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306E\u30EA\u30B9\u30C8\u306F\u3001\u3069\u3061\u3089\u3082 ",(0,r.jsx)(t.code,{children:"404"}),"\uFF08",(0,r.jsx)(t.code,{children:"check_list_not_found"}),"\uFF09\u3067\u3059\u3002"]}),"\n",(0,r.jsx)(t.li,{children:"\u524A\u9664\u306F\u30AF\u30EC\u30B8\u30C3\u30C8\u3092\u6D88\u8CBB\u305B\u305A\u3001\u30AB\u30BF\u30ED\u30B0\u3084 SmartBatch \u306E\u4F5C\u696D\u3082\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u305B\u3093\u3002"}),"\n",(0,r.jsxs)(t.li,{children:["\u30C1\u30A7\u30C3\u30AF\u30EA\u30B9\u30C8\u5B9F\u884C\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u306F\u3042\u308A\u307E\u305B\u3093\u3002",(0,r.jsx)(t.a,{href:"/verifik-ja/c
1heck-list",children:"Check List"})," \u3068 ",(0,r.jsx)(t.a,{href:"/verifik-ja/smart-batch",children:"SmartBatch"})," \u3092\u898B\u3066\u304F\u3060\u3055\u3044\u3002"]}),"\n"]})]})}function p(e={}){let{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},57250(e,t,n){n.d(t,{A:()=>l});var s=n(74848);n(96540);var r=n(34164),i=n(57663);function c({children:e,className:t,hidden:n}){return(0,s.jsx)("div",{role:"tabpanel",className:(0,r.A)("tabItem_Ymn6",t),hidden:n,children:e})}function l({children:e,className:t,value:n}){let{selectedValue:r,lazy:a}=(0,i.uc)(),o=n===r;return!o&&a?null:(0,s.jsx)(c,{className:t,hidden:!o,children:e})}},50773(e,t,n){n.d(t,{A:()=>u});var s=n(74848);n(96540);var r=n(34164),i=n(88287),c=n(57663),l=n(28584),a=n(19863);function o({className:e}){let{selectedValue:t,selectValue:n,tabValues:i,block:a}=(0,c.uc)(),d=[],{blockElementScrollPositionUntilNextRender:h}=(0,l.a_)(),u=e=>{let s=e.currentTarget,r=i[d.indexOf(s)].value;r!==t&&(h(s),n(r))},p=e=>{let t=null;switch(e.key){case"Enter":u(e);break;case"ArrowRight":{let n=d.indexOf(e.currentTarget)+1;t=d[n]??d[0];break}case"ArrowLeft":{let n=d.indexOf(e.currentTarget)-1;t=d[n]??d[d.length-1]}}t?.focus()};return(0,s.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,r.A)("tabs",{"tabs--block":a},e),children:i.map(({value:e,label:n,attributes:i})=>(0,s.jsx)("li",{role:"tab",tabIndex:t===e?0:-1,"aria-selected":t===e,ref:e=>{d.push(e)},onKeyDown:p,onClick:u,...i,className:(0,r.A)("tabs__item","tabItem_LNqP",i?.className,{"tabs__item--active":t===e}),children:n??e},e))})}function d({children:e}){return(0,s.jsx)("div",{className:"margin-top--md",children:e})}function h({className:e,children:t}){return(0,s.jsxs)("div",{className:(0,r.A)(i.G.tabs.container,"tabs-container","tabList__CuJ"),children:[(0,s.jsx)(o,{className:e}),(0,s.jsx)(d,{children:t})]})}function u(e){let t=(0,a.A)(),n=(0,c.OC)(e);return(0,s.jsx)(c.O_,{value:n,children:(0,s.jsx)(h,{className:e.className,children:(0,c.vT)(e.children)})},String(t))}},57663(e,t,n){n.d(t,{OC:()=>u,O_:()=>v,uc:()=>j,vT:()=>d});var s=n(74848),r=n(96540),i=n(56347),c=n(99989),l=n(96629),a=n(80618),o=n(41367);function d(e){return r.Children.toArray(e).filter(e=>"\n"!==e)}function h({value:e,tabValues:t}){return t.some(t=>t.value===e)}function u(e){let t,{defaultValue:n,queryString:s=!1,groupId:d}=e,u=function(e){let{values:t,children:n}=e;return(0,r.useMemo)(()=>{let e=t??r.Children.toArray(n).flatMap(e=>{if(!e)return[];if((0,r.isValidElement)(e)&&function(e){let{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return[e];let t="string"==typeof e.type?e.type:e.type.name;throw Error(`Docusaurus error: Bad <Tabs> child <${t}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop. 2If you do not want to pass on a "value" prop to the direct children of <Tabs>, you can also pass an explicit <Tabs values={...}> prop.`)}).map(({props:{value:e,label:t,attributes:n,default:s}})=>({value:e,label:t,attributes:n,default:s})),s=(0,a.XI)(e,(e,t)=>e.value===t.value);if(s.length>0)throw Error(`Docusaurus error: Duplicate values "${s.map(e=>`'${e.value}'`).join(", ")}" found in <Tabs>. Every value needs to be unique.`);return e},[t,n])}(e),[p,j]=(0,r.useState)(()=>(function({defaultValue:e,tabValues:t}){if(0===t.length)throw Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(e){if(!h({value:e,tabValues:t}))throw Error(`Docusaurus error: The <Tabs> has a defaultValue "${e}" but none of its children has the corresponding value. Available values are: ${t.map(e=>e.value).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return e}let n=t.find(e=>e.default)??t[0];if(!n)throw Error("Unexpected error: 0 tabValues");return n.value})({defaultValue:n,tabValues:u})),[v,f]=function({queryString:e=!1,groupId:t}){let n=(0,i.W6)(),s=function({queryString:e=!1,groupId:t}){if("string"==typeof e)return e;if(!1===e)return null;if(!0===e&&!t)throw Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return t??null}({queryString:e,groupId:t});return[(0,l.aZ)(s),(0,r.useCallback)(e=>{if(!s)return;let t=new URLSearchParams(n.location.search);t.set(s,e),n.replace({...n.location,search:t.toString()})},[s,n])]}({queryString:s,groupId:d}),[x,k]=function({groupId:e}){let t=e?`docusaurus.tab.${e}`:null,[n,s]=(0,o.Dv)(t);return[n,(0,r.useCallback)(e=>{t&&s.set(e)},[t,s])]}({groupId:d}),m=h({value:t=v??x,tabValues:u})?t:null;return(0,c.A)(()=>{m&&j(m)},[m]),{selectedValue:p,selectValue:(0,r.useCallback)(e=>{if(!h({value:e,tabValues:u}))throw Error(`Can't select invalid tab value=${e}`);j(e),f(e),k(e)},[f,k,u]),tabValues:u,lazy:e.lazy??!1,block:e.block??!1}}let p=(0,r.createContext)(null);function j(){let e=r.useContext(p);if(!e)throw Error("useTabsContext() must be used within a Tabs component");return e}function v(e){return(0,s.jsx)(p.Provider,{value:e.value,children:e.children})}},28453(e,t,n){n.d(t,{R:()=>c,x:()=>l});var s=n(96540);let r={},i=s.createContext(r);function c(e){let t=s.useContext(i);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.