Skip to main content

Delete a batch configuration

Delete a BatchConfiguration owned by your client account. The endpoint removes the configuration document and returns the deleted document in data.

If {id} does not exist or belongs to another client account, the endpoint returns 404 (not_found). Deleting a configuration does not execute lookups and does not consume credits.

Endpoint​

DELETE https://api.verifik.co/v2/batch-configurations/{id}

Also reachable via the Smart-Agent proxy at https://ai.verifik.co/v2/batch-configurations/{id} using your own per-client Authorization: Bearer <VERIFIK_JWT> header. Shared x402 execution is blocked with 403 Forbidden.

Headers​

NameValue
Content-Typeapplication/json
AuthorizationBearer <VERIFIK_JWT>

The token must be a client JWT. Missing or invalid credentials return 401 Unauthorized.

Parameters​

NameTypeRequiredDescription
idstringYesBatchConfiguration ObjectId to delete.

Request​

const fetch = require("node-fetch");

async function run() {
const id = "67d1b4a0e4f5a60718293b12";
const res = await fetch(`https://api.verifik.co/v2/batch-configurations/${id}`, {
method: "DELETE",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_JWT}`,
},
});
console.log(await res.json());
}

run();

Response​

{
"data": {
"_id": "67d1b4a0e4f5a60718293b12",
"name": "Colombia Citizen Essential",
"description": "Core Colombian identity and registry verification for citizens.",
"country": "CO",
"executor": "browser",
"inputFormat": "csv",
"outputFormat": "csv",
"mergeStrategy": "sequential",
"preferredReportTemplate": "67d1b4a1e4f5a60718293b15",
"isActive": true,
"steps": [
{
"_id": "67d1b4a0e4f5a60718293b13",
"appFeature": "65f0a1b2c3d4e5f607182901",
"sequence": 1,
"enabled": true,
"parameterDefaults": {},
"queryMode": "byDocument",
"inputFieldMapping": {},
"outputFieldsToKeep": [],
"maxRetries": 3,
"retryDelayBaseSeconds": 4,
"timeoutSeconds": 30
}
],
"createdAt": "2026-10-15T14:20:00.000Z",
"updatedAt": "2026-10-15T14:20:00.000Z"
}
}

Notes​

  • Deleting a configuration returns the deleted document inside data. Subsequent GET, PUT, or DELETE requests using the same {id} will no longer find the record (GET returns data: null; GET /input-schema, PUT, and DELETE return 404 not_found).
  • Deleting a configuration does not consume credits.