# reset

## <mark style="color:red;">ykman piv</mark> reset  <mark style="color:red;">OPTIONS</mark>

<table><thead><tr><th width="184">Options</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:red;">-h, --help</mark></td><td>Show this message and exit.</td></tr><tr><td><mark style="color:red;">-f, --force</mark></td><td>Confirm the action without prompting.</td></tr></tbody></table>

## <mark style="color:red;">❊ Examples</mark>

{% tabs %}
{% tab title="Command" %}

```properties
ykman piv reset
```

{% endtab %}

{% tab title="Output" %}

```properties
WARNING! This will delete all stored PIV data and restore factory settings. Proceed? [y/N]:
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yubico.gitbook.io/yubikey5/piv-1/commands/reset.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
