[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-notifications\u002Fgroups\u002Fconditions-delete":3,"docs-tabs-notifications\u002Fgroups\u002Fconditions-delete":6},{"content":4,"lastmod":5},"## Remove a condition from a notification group\n\n`DELETE \u002Fv1\u002Fnotifications\u002Fgroups\u002F:groupId\u002Fconditions`\n\nRemoves a single condition from a group the user created — the module and event pair named in the query parameters.\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 |\n| `module` (query) | string | yes | Condition module, 1 to 255 characters, passed once. The group's modules are the keys of `conditions.moduleConditions` in the [group list](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Flist) |\n| `event` (query) | string | yes | Condition event, 1 to 255 characters, passed once. The module's events are the `events` array under its key in `conditions.moduleConditions` |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnotifications\u002Fgroups\u002F12\u002Fconditions?module=calendar&event=invite\" \\\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\u002Fconditions?module=calendar&event=invite\" \\\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 params = new URLSearchParams({ module: 'calendar', event: 'invite' })\nconst res = await fetch(`https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnotifications\u002Fgroups\u002F12\u002Fconditions?${params}`, {\n  method: 'DELETE',\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { success } = await res.json()\nconsole.log('Condition removed:', success)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst params = new URLSearchParams({ module: 'calendar', event: 'invite' })\nconst res = await fetch(`https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnotifications\u002Fgroups\u002F12\u002Fconditions?${params}`, {\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('Condition removed:', 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\n400 — `event` was not passed:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"INVALID_PARAMS\",\n    \"message\": \"Query parameter `event` must be a non-empty string of up to 255 characters.\"\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` | `module` or `event` was not passed, is empty, is longer than 255 characters or was passed twice. The parameter name is in `message` |\n| 400 | `INVALID_PARAMS` | Another query parameter or a body field was passed, or the body is not a JSON object. The name is in `message` |\n| 404 | `ENTITY_NOT_FOUND` | The group does not exist — it was deleted 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 removal; 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## Known specifics\n\n- Removing the last condition also deletes the group itself: it disappears from the [group list](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Flist). To replace the only condition of a group, [add the new one](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fconditions-create) first, then remove the old one.\n- A request with a module and event pair the group does not have also returns `200` with `data.result: true`. Such a response does not confirm that the condition was in the group — check against the group list.\n\n## See also\n\n- [Notification groups](\u002Fdocs\u002Fnotifications\u002Fgroups)\n- [Add a condition to a notification group](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fconditions-create)\n- [Delete a notification group](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Fdelete)\n- [List notification groups](\u002Fdocs\u002Fnotifications\u002Fgroups\u002Flist)\n","2026-10-09",{},1795415484692]