[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-chats\u002Fstickers\u002Flink-delete":3,"docs-tabs-chats\u002Fstickers\u002Flink-delete":6},{"content":4,"lastmod":5},"## Remove a pack\n\n`DELETE \u002Fv1\u002Fchats\u002Fstickers\u002Fpacks\u002F:packId\u002Flink`\n\nRemoves an added user sticker pack from the current user's list of packs. The pack stays with its author and with other users, and it can be added again. The author cannot remove their own pack, only delete it.\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| `packType` (query) | string | yes | Pack type. Only `custom` can be removed |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fstickers\u002Fpacks\u002F3\u002Flink?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\u002Flink?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 res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fstickers\u002Fpacks\u002F3\u002Flink?packType=custom', {\n  method: 'DELETE',\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { success } = await res.json()\nconsole.log('Removed:', success)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fstickers\u002Fpacks\u002F3\u002Flink?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('Removed:', 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 pack was removed from the list |\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 pack does not exist:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"BITRIX_ERROR\",\n    \"message\": \"PACK_NOT_FOUND\",\n    \"b24Code\": \"PACK_NOT_FOUND\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `INVALID_PARAMS` | `packId` is not a positive integer, `packType` is missing or invalid, another parameter or body field was passed, a parameter was repeated |\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 it is the user's own pack |\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- Removing an existing pack that is not in the user's list succeeds without an error.\n\n## See also\n\n- [Add a pack](\u002Fdocs\u002Fchats\u002Fstickers\u002Flink-create)\n- [List of packs](\u002Fdocs\u002Fchats\u002Fstickers\u002Fpacks)\n- [Delete a pack](\u002Fdocs\u002Fchats\u002Fstickers\u002Fpack-delete)\n","2026-10-06",{},1795415444435]