{"id":20879228,"url":"https://github.com/7c/zendesk-ticket-deleter","last_synced_at":"2026-04-26T01:32:20.152Z","repository":{"id":129721330,"uuid":"262140744","full_name":"7c/zendesk-ticket-deleter","owner":"7c","description":"tool to delete tickets older than x days from zendesk","archived":false,"fork":false,"pushed_at":"2020-05-16T22:09:54.000Z","size":1769,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T16:45:39.259Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/7c.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-07T19:30:16.000Z","updated_at":"2023-08-21T10:55:47.000Z","dependencies_parsed_at":"2023-03-15T08:15:12.016Z","dependency_job_id":null,"html_url":"https://github.com/7c/zendesk-ticket-deleter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/7c/zendesk-ticket-deleter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fzendesk-ticket-deleter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fzendesk-ticket-deleter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fzendesk-ticket-deleter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fzendesk-ticket-deleter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7c","download_url":"https://codeload.github.com/7c/zendesk-ticket-deleter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fzendesk-ticket-deleter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32283294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T07:15:38.691Z","updated_at":"2026-04-26T01:32:20.135Z","avatar_url":"https://github.com/7c.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zendesk ticket deleter\n\nZendesk seems to archive tickets after 120 days and then they are not visible inside views, but they still can be searched in the system forever (at least as of 2020). You may want to use this tool to delete all tickets they are older than x days from system forever\n\nThis library uses node-zendesk (https://github.com/blakmatrix/node-zendesk) library to communicate with API. You will need access to API in order to use this tool.\n\n\nBy default it will delete all tickets they are older than 120 days from now. You may pass `--days \u003cinteger\u003e` to define a value greater than 30 (security reasons)\n\n\n![demo](demo.gif)\n\n## Installation\n```\ngit clone https://github.com/7c/zendesk-ticket-deleter.git\ncd zendesk-ticket-deleter \u0026\u0026 npm install\n```\n\n## Usage\n```\n## environment variable style\nDEBUG=* \\\nzd_apikey='z3guwt7an64ck7ysqknrfq5bavr3g2hm' \\\nzd_username='info@test.com' \\\nzd_apiurl='https://test.zendesk.com/api/v2' \\\nnode zendesk-ticket-deleter.js \n```\n\nor\n\n```\n## command line style\nDEBUG=* node zendesk-ticket-deleter.js --apikey 'z3guwt7an64ck7ysqknrfq5bavr3g2hm' --username 'info@test.com' --apiurl 'https://test.zendesk.com/api/v2'\n```\n\n## Tcp Mutex\nto avoid multiple times same operation to be started i have implemenented tcp-mutex package which binds a tcp port to avoid same process to be started several times. You may use optional `--lockport=\u003cport\u003e` parameter to activate\n\n## Rate limiting\nZendesk API does rate limit, that is why i have put 1 second wait after each delete operation.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7c%2Fzendesk-ticket-deleter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7c%2Fzendesk-ticket-deleter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7c%2Fzendesk-ticket-deleter/lists"}