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 |
|---|---|---|---|
ParametertaskId (path) |
Typeinteger | Requiredyes | DescriptionTask ID. List: GET /v1/tasks |
ParameteritemId (path) |
Typeinteger | Requiredyes | DescriptionChecklist item ID. List: GET /v1/tasks/:taskId/checklist |
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 |
|---|---|---|
| HTTP400 | CodeINVALID_PARAMS |
DescriptiontaskId or itemId is not a positive integer |
| HTTP403 | CodeSCOPE_DENIED |
DescriptionThe API key lacks the task scope |
| HTTP403 | CodeWRITE_BLOCKED_READONLY_KEY |
DescriptionThe 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 |
| HTTP401 | CodeTOKEN_MISSING |
DescriptionThe 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 same204is returned when the tasktaskIditself does not exist. 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.