# CLEAR\_APP

The **CLEAR\_APP** command wipes the app’s stored data, logs out the user, and resets the application to its first-time launch state.

This ensures the next launch begins from a clean slate with no cached sessions, preferences, or stored credentials.

**Syntax:** CLEAR\_APP

**When to use:**

1. Testing fresh onboarding or first-time user experiences
2. Validating login, signup, or authentication flows
3. Ensuring no residual session interferes with test accuracy
4. Resetting the app before switching accounts
5. Verifying behavior after complete data clearance


---

# 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://docs.drizz.dev/commands-reference/system-command/clear_app.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.
