[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-chats\u002Fmessages\u002Fcomments-subscription-delete":3,"docs-tabs-chats\u002Fmessages\u002Fcomments-subscription-delete":6},{"content":4,"lastmod":5},"## Stop following the comments of a post\n\n`DELETE \u002Fv1\u002Fchats\u002Fmessages\u002F:messageId\u002Fcomments\u002Fsubscription`\n\nUnsubscribes you from notifications about new comments on a channel post.\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|----------|-----|:-----:|-----------|---------|\n| `messageId` (path) | number | yes | — | ID of the channel post, a positive integer. Channel posts: [Read messages](\u002Fdocs\u002Fchats\u002Fmessages\u002Flist) |\n\nNo body is needed. Query parameters and body fields are rejected with `400 INVALID_PARAMS`.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fmessages\u002F845\u002Fcomments\u002Fsubscription\" \\\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\u002Fchats\u002Fmessages\u002F845\u002Fcomments\u002Fsubscription\" \\\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\u002Fchats\u002Fmessages\u002F845\u002Fcomments\u002Fsubscription', {\n  method: 'DELETE',\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { data } = await res.json()\nconsole.log('Notifications off:', data.result)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fmessages\u002F845\u002Fcomments\u002Fsubscription', {\n  method: 'DELETE',\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { data } = await res.json()\nconsole.log('Notifications off:', data.result)\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data.result` | boolean | `true` — you no longer follow the comments of the post |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": { \"result\": true }\n}\n```\n\n## Error response example\n\n422 — the message is not a channel post:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"BITRIX_ERROR\",\n    \"message\": \"WRONG_PARENT_CHAT\",\n    \"b24Code\": \"WRONG_PARENT_CHAT\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `INVALID_PARAMS` | `messageId` is not a positive integer, the body is not a JSON object, a query parameter or a body field is passed. Checked before any call to Bitrix24 |\n| 404 | `ENTITY_NOT_FOUND` | Bitrix24 returned a generic \"not found\" code or an error with the text \"not found\". The portal code is in `error.b24Code` |\n| 422 | `BITRIX_ERROR` | Bitrix24 returned an error, the portal code is in `error.b24Code`. `WRONG_PARENT_CHAT` — the message is not a channel post, `MESSAGE_ACCESS_DENIED` — no access to the message, including when there is no message with this ID |\n| 403 | `SCOPE_DENIED` | The API key does not have the `im` scope |\n| 403 | `WRITE_BLOCKED_READONLY_KEY` | The key is read-only: unfollowing changes data — see [access rights](\u002Fdocs\u002Faccess-rights) |\n| 401 | `TOKEN_MISSING` | The API key has no Bitrix24 tokens configured |\n\nThe full list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n**Unfollowing marks the thread as read.** Besides turning off notifications, unfollowing marks the comments of this post as read for you.\n\n**A repeated unfollow is not an error.** If you are not following the post, the response is still `true`.\n\n**The thread appears together with the post.** A thread is created as soon as the post is sent to the channel, before the first comment. A forwarded post has no thread — unfollowing creates one, so you can unfollow any channel post.\n\n## See also\n\n- [Follow the comments of a post](\u002Fdocs\u002Fchats\u002Fmessages\u002Fcomments-subscription-create)\n- [Comment summary for posts](\u002Fdocs\u002Fchats\u002Fmessages\u002Fcomments)\n- [Mark all channel comments as read](\u002Fdocs\u002Fchats\u002Fmessages\u002Fcomments-read-all)\n","2026-10-05",{},1795415435076]