For AI agents: markdown of this page — /docs-content-en/scrum/backlogs/delete.md documentation index — /llms.txt
Delete a backlog
DELETE /v1/scrum/backlogs/:id
Deletes a Scrum project backlog. A deleted backlog cannot be restored through the API — create a new one if needed.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
Parameterid (path) |
Typenumber | Requiredyes | DescriptionBacklog ID, not the group ID. Where to get it — Scrum backlogs |
Examples
curl — personal key
curl -X DELETE https://vibecode.bitrix24.com/v1/scrum/backlogs/43 \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl -X DELETE https://vibecode.bitrix24.com/v1/scrum/backlogs/43 \
-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/scrum/backlogs/43', {
method: 'DELETE',
headers: { 'X-Api-Key': 'YOUR_API_KEY' },
})
const { success } = await res.json()
console.log('Deleted:', success)
JavaScript — OAuth application
const res = await fetch('https://vibecode.bitrix24.com/v1/scrum/backlogs/43', {
method: 'DELETE',
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { success } = await res.json()
console.log('Deleted:', success)
Response fields
| Field | Type | Description |
|---|---|---|
Fieldsuccess |
Typeboolean | Descriptiontrue on successful deletion, HTTP status 200 |
Fielddata |
Typearray | DescriptionEmpty array |
Response example
{
"success": true,
"data": []
}
Error response example
404 — no backlog with this ID exists, including on repeated deletion:
{
"success": false,
"error": {
"code": "ENTITY_NOT_FOUND",
"message": "Backlog not found"
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| HTTP400 | CodeINVALID_PARAMS |
Descriptionid is not a positive integer |
| HTTP404 | CodeENTITY_NOT_FOUND |
DescriptionNo backlog with this id exists |
| HTTP403 | CodeSCOPE_DENIED |
DescriptionThe key lacks the task scope |
| HTTP403 | CodeWRITE_BLOCKED_READONLY_KEY |
DescriptionThe key is read-only |
| HTTP401 | CodeTOKEN_MISSING |
DescriptionThe key has no configured tokens |
Full list of common API errors — Errors.