Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 740 Bytes

README.rst

File metadata and controls

38 lines (20 loc) · 740 Bytes

zendesk-cli

CLI utility to interface with the Zendesk API. Based on a query, it will dump, delete, or mark tickets as spam.

Zendesk's query language reference: https://support.zendesk.com/hc/en-us/articles/203663226

Usage

zendesk.py -h

Dumping

zendesk.py -a https://<yourprefix>.zendesk.com/api/v2/ -u <user@domain>/token -f 'tags:trash status:new'

Deleting

zendesk.py -a https://<yourprefix>.zendesk.com/api/v2/ -u <user@domain>/token -d 'tags:trash status:new'

Mark as spam

zendesk.py -a https://<yourprefix>.zendesk.com/api/v2/ -u <user@domain>/token -s 'tags:trash status:new'