For AI agents: markdown of this page — /docs-content-en/entities/tasks/checklist/delete.md documentation index — /llms.txt
Delete a checklist item
DELETE /v1/tasks/:taskId/checklist/:itemId
Deletes a checklist item. A deleted item cannot be restored via the API — create a new one if needed.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
taskId (path) |
integer | yes | Task ID |
itemId (path) |
integer | yes | Checklist item ID |
Examples
curl — personal key
curl -X DELETE "https://vibecode.bitrix24.com/v1/tasks/3943/checklist/213" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl -X DELETE "https://vibecode.bitrix24.com/v1/tasks/3943/checklist/213" \
-H "X-Api-Key: YOUR_APP_KEY" \
-H "Authorization: Bearer USER_SESSION_TOKEN"
JavaScript — personal key
const res = await fetch("https://vibecode.bitrix24.com/v1/tasks/3943/checklist/213", {
method: "DELETE",
headers: { "X-Api-Key": "YOUR_API_KEY" },
});
if (res.status === 204) {
console.log("Deleted");
}
JavaScript — OAuth application
const res = await fetch("https://vibecode.bitrix24.com/v1/tasks/3943/checklist/213", {
method: "DELETE",
headers: {
"X-Api-Key": "YOUR_APP_KEY",
"Authorization": "Bearer USER_SESSION_TOKEN",
},
});
if (res.status === 204) {
console.log("Deleted");
}
Response
On success, the response is HTTP status 204 No Content with an empty body. Success is indicated by the status code, not the body.
Response example
HTTP/1.1 204 No Content
Error response example
400 — invalid itemId:
{
"success": false,
"error": { "code": "INVALID_PARAMS", "message": "taskId and itemId must be positive integers" }
}
Errors
| HTTP | Code | Description |
|---|---|---|
| 400 | INVALID_PARAMS |
taskId or itemId is not a positive integer |
| 403 | SCOPE_DENIED |
The API key lacks the task scope |
| 403 | WRITE_BLOCKED_READONLY_KEY |
The key is in read-only mode. Open the path from error.details.switchUrl: a personal key points to /keys, an application key with a card to /applications, a standalone OAuth key to /apps, and a management key to /management-keys. Switch it to read and write there |
| 401 | TOKEN_MISSING |
The API key has no configured tokens |
Full list of common API errors — Errors.
Known specifics
- Deleting a nonexistent item also returns
204. The response does not distinguish a deleted item from anitemIdthat never existed, and deleting the same item again returns204too. The same204arrives when the tasktaskIditself is missing. To make sure the item existed, read it before deleting via "Get an item" — that endpoint returns404both for a missing item and for a missing task. - A refusal for a missing item has not been measured here. The route maps a Bitrix24 "item not found" refusal to
404 NOT_FOUND, as the neighbouring methods of the cluster do, but on a live Bitrix24 account this method never produced that refusal — the probe answered204, and in the tests the refusal is reproduced only with a mock. That is why404is not listed in the errors above.