체크리스트 삭제
소유한 Check List를 삭제합니다. API는 삭제된 문서를 { data }로 반환합니다. 잘못된 ObjectId, 없는 목록, 다른 클라이언트가 소유한 목록은 404를 반환합니다.
삭제는 조회를 실행하지 않으며 크레딧을 쓰지 않습니다. 같은 feature 코드를 사용한 카탈로그 기록과 SmartBatch 작업은 제거되지 않습니다.
Endpoint
DELETE https://api.verifik.co/v2/check-lists/{id}
클라이언트의 컬렉션에서 목록을 제거하고 삭제된 문서를 반환합니다. 이 호출 이후 같은 id에 대한 GET / PUT / DELETE는 404를 반환합니다.
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
토큰은 클라이언트 JWT여야 합니다. clientId가 없는 토큰은 403을 반환합니다.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | 생성 또는 목록에서 받은 Check List ObjectId. |
Request
- Node.js
- PHP
- Python
- Go
const fetch = require("node-fetch");
async function run() {
const id = "6aa224c87034a338385c28c0";
const res = await fetch(`https://api.verifik.co/v2/check-lists/${id}`, {
method: "DELETE",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(await res.json());
}
run();
<?php
$id = "6aa224c87034a338385c28c0";
$ch = curl_init("https://api.verifik.co/v2/check-lists/" . $id);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Content-Type: application/json",
"Authorization: Bearer " . getenv("VERIFIK_TOKEN")
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);
import os, requests
check_list_id = "6aa224c87034a338385c28c0"
url = f"https://api.verifik.co/v2/check-lists/{check_list_id}"
headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"
}
r = requests.delete(url, headers=headers)
print(r.json())
package main
import (
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
id := "6aa224c87034a338385c28c0"
req, _ := http.NewRequest("DELETE", "https://api.verifik.co/v2/check-lists/"+id, nil)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERIFIK_TOKEN"))
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
var out map[string]interface{}
json.NewDecoder(resp.Body).Decode(&out)
fmt.Println(out)
}
Response
- 200
- 403
- 404
{
"data": {
"_id": "6aa224c87034a338385c28c0",
"client": "507f1f77bcf86cd799439013",
"name": "KYC Colombia",
"countries": ["Colombia", "Chile"],
"domains": ["people"],
"featureCodes": ["co-cedula"],
"status": "draft",
"createdAt": "2026-09-10T03:32:00.000Z",
"updatedAt": "2026-09-10T03:33:00.000Z"
}
}
{
"message": "Client context required",
"code": "Forbidden"
}
{
"message": "check_list_not_found",
"code": "check_list_not_found"
}
Notes
200본문은 삭제된 문서이며, 빈 객체가 아닙니다.- 잘못된 ObjectId와 다른 클라이언트의 목록 모두
404(check_list_not_found)입니다. - 삭제는 크레딧을 쓰지 않으며 카탈로그 또는 SmartBatch 작업을 취소하지 않습니다.
- 체크리스트 실행 엔드포인트는 없습니다. Check List와 SmartBatch를 보세요.