[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-notifications\u002Fgroups\u002Fdelete":3,"docs-tabs-notifications\u002Fgroups\u002Fdelete":6},{"content":4,"lastmod":5},"## Delete a notification group\n\n`DELETE \u002Fv1\u002Fnotifications\u002Fgroups\u002F:groupId`\n\nDeletes a group the user created, together with all its conditions; the notifications themselves stay in the feed. A deleted group cannot be restored via the API — create a new one if needed.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|---------|\n| `groupId` (path) | number | yes | Group identifier — the `tag` value of a group with `isEditable: true` from the [group list](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Flist), passed as a number. The system groups `confirm`, `mention` and `admin` have no numeric identifier |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnotifications\u002Fgroups\u002F12\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnotifications\u002Fgroups\u002F12\" \\\n  -H \"X-Api-Key: YOUR_APP_KEY\" \\\n  -H \"Authorization: Bearer USER_SESSION_TOKEN\"\n```\n\n### JavaScript — personal key\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnotifications\u002Fgroups\u002F12', {\n  method: 'DELETE',\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { success } = await res.json()\nconsole.log('Group deleted:', success)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnotifications\u002Fgroups\u002F12', {\n  method: 'DELETE',\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { success } = await res.json()\nconsole.log('Group deleted:', success)\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data.result` | boolean | Always `true`. The success indicator is the HTTP code `200`, not the value |\n\n## Response example\n\nHTTP 200:\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"result\": true\n  }\n}\n```\n\n## Error response example\n\n404 — the group does not exist:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ENTITY_NOT_FOUND\",\n    \"message\": \"Notification group was not found.\",\n    \"b24Code\": \"GROUP_NOT_FOUND\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 400 | `INVALID_PARAMS` | `groupId` is not a positive integer, including a system group tag such as `mention` |\n| 400 | `INVALID_PARAMS` | A body field or a query parameter was passed — the operation does not accept them — or the body is not a JSON object. The field name is in `message` |\n| 404 | `ENTITY_NOT_FOUND` | The group does not exist — it was already deleted (including automatically, when its last [condition](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fconditions-delete) was removed) or belongs to another user. The portal code `GROUP_NOT_FOUND` is in the `error.b24Code` field. On a portal whose interface language is neither Russian nor English, the same refusal arrives as `422 BITRIX_ERROR` — rely on `error.b24Code` |\n| 422 | `BITRIX_ERROR` | Bitrix24 rejected the deletion; the portal code is in the `error.b24Code` field |\n| 403 | `SCOPE_DENIED` | The key lacks the `im` scope |\n| 403 | `WRITE_BLOCKED_READONLY_KEY` | The key is in read-only mode |\n| 401 | `TOKEN_MISSING` | The key has no configured tokens |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [List notification groups](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Flist)\n- [Create a notification group](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fcreate)\n- [Remove a condition from a notification group](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fconditions-delete)\n","2026-10-09",{},1795377163954]