> For the complete documentation index, see [llms.txt](https://ticketking.xyz/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ticketking.xyz/docs/settings/danger-zone.md).

# Danger Zone

Reset ticket counters and other irreversible actions.

The bottom of the Settings page has a **Danger Zone** for actions that can't be undone.

## Edit Ticket Counters

The **Edit Counters** button opens a window listing every ticket-name-format counter currently in use. You can adjust each value or remove a counter you no longer need. You cannot add new counters here. New counters are created automatically when tickets open.

The button is disabled when no counters exist yet, with the reason *"No counters exist yet. They're created automatically when tickets open."*

Use this to correct a counter that drifted, or to set a starting number when moving tickets from another system.

## Reset All Ticket Counters

A **"Reset All Counters"** danger button. Opens a confirmation pop-up:

> **Reset All Ticket Counters**
>
> Are you sure you want to reset all ticket counters to 0? This action cannot be undone and will affect all ticket numbering going forward.

Confirming resets every counter to 0. **Existing channels keep their names.** The reset only affects what number the next ticket gets.

{% hint style="danger" %}
**This is permanent.** Once reset, you can't recover the previous counter values without re-creating them manually in the Edit Counters pop-up.
{% endhint %}

<figure><img src="https://1268186137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrnuG1qjzbOoh0efVpoK8%2Fuploads%2Fgit-blob-ca91ae600ddfab6c4c206aacecfa28e01ccfe387%2Fdanger-zone.png?alt=media" alt="Settings, Danger Zone section showing both buttons"><figcaption></figcaption></figure>

## Related

{% content-ref url="/pages/1XXFSFiH6KoRmi1V1AJZ" %}
[Ticket numbering](https://ticketking.xyz/docs/tickets/ticket-numbering.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ticketking.xyz/docs/settings/danger-zone.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
