[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-chats\u002Fstickers\u002Fpack-stickers":3,"docs-tabs-chats\u002Fstickers\u002Fpack-stickers":6},{"content":4,"lastmod":5},"## Delete stickers from a pack\n\n`DELETE \u002Fv1\u002Fchats\u002Fstickers\u002Fpacks\u002F:packId\u002Fstickers`\n\nDeletion is irreversible: the stickers disappear from the pack for everyone who added it, and their files are deleted.\n\nDeletes stickers from a user pack. Only the pack author can delete stickers. Stickers in built-in packs cannot be deleted.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|----------|\n| `packId` (path) | number | yes | Pack ID — `data.packs[].id` from the [list of packs](\u002Fdocs\u002Fchats\u002Fstickers\u002Fpacks) |\n| `ids` (query) | string | yes | Comma-separated sticker IDs, 1 to 50 positive integers — for example `45,46`. IDs come from the [sticker pack](\u002Fdocs\u002Fchats\u002Fstickers\u002Fpack-get). Duplicates are dropped |\n| `packType` (query) | string | yes | Pack type — `data.packs[].type` from the [list of packs](\u002Fdocs\u002Fchats\u002Fstickers\u002Fpacks). Stickers can be deleted only from `custom` packs |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fstickers\u002Fpacks\u002F3\u002Fstickers?ids=45,46&packType=custom\" \\\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\u002Fstickers\u002Fpacks\u002F3\u002Fstickers?ids=45,46&packType=custom\" \\\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 ids = [45, 46].join(',')\nconst res = await fetch(`https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fstickers\u002Fpacks\u002F3\u002Fstickers?ids=${ids}&packType=custom`, {\n  method: 'DELETE',\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { success } = await res.json()\nconsole.log('Deleted:', success)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst ids = [45, 46].join(',')\nconst res = await fetch(`https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fstickers\u002Fpacks\u002F3\u002Fstickers?ids=${ids}&packType=custom`, {\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('Deleted:', success)\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data.result` | boolean | `true` — the request succeeded |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": { \"result\": true }\n}\n```\n\n## Error response example\n\n400 — the `ids` list is empty or invalid:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"INVALID_PARAMS\",\n    \"message\": \"`ids` is required: 1 to 50 sticker ids, positive integers separated by commas (`ids=101,102`).\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `INVALID_PARAMS` | `ids` is missing or empty, contains a value that is not a positive integer, or has more than 50 distinct values. `packId` or `packType` is invalid. Another parameter or body field was passed |\n| 401 | `TOKEN_MISSING` | The key has no configured Bitrix24 tokens |\n| 403 | `SCOPE_DENIED` | The key lacks the `im` scope |\n| 403 | `WRITE_BLOCKED_READONLY_KEY` | The key is in read-only mode |\n| 403 | `BITRIX_ACCESS_DENIED` | The pack is built-in or its author is another user |\n| 404 | `ENTITY_NOT_FOUND` | Bitrix24 did not find the object. The portal code is in `error.b24Code` if supplied |\n| 422 | `BITRIX_ERROR` | `error.b24Code`: `PACK_NOT_FOUND` — the pack does not exist |\n| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 is unavailable or returned a server error |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n- If `ids` lists all stickers in the pack, the whole pack is deleted — as with [deleting a pack](\u002Fdocs\u002Fchats\u002Fstickers\u002Fpack-delete). The same happens to an empty pack, whatever `ids` contains.\n- Sticker IDs that are not in the pack are skipped without an error: a `true` response does not mean that anything was deleted.\n- A pack holds at most 50 stickers, so `ids` takes at most 50 values.\n\n## See also\n\n- [Delete a pack](\u002Fdocs\u002Fchats\u002Fstickers\u002Fpack-delete)\n- [List of packs](\u002Fdocs\u002Fchats\u002Fstickers\u002Fpacks)\n- [Stickers](\u002Fdocs\u002Fchats\u002Fstickers)\n","2026-10-07",{},1794739555511]