# Reset Cloud Data (Remove Keys)

## Goal

Let the user delete cloud keys (for example from a Settings “Reset cloud save” button).

## Actions Required

| Action                     | Purpose                              |
| -------------------------- | ------------------------------------ |
| CloudServicesRemoveKey     | Remove a specific key                |
| CloudServicesRemoveAllKeys | Remove all keys (use with caution)   |
| CloudServicesSynchronize   | Push deletion to cloud (recommended) |

## Implementation Steps

### Option A: Remove specific keys

1. Call `CloudServicesRemoveKey` for each key you want to delete.
2. Call `CloudServicesSynchronize` and wait for `successEvent`.

### Option B: Remove everything

1. Call `CloudServicesRemoveAllKeys`.
2. Call `CloudServicesSynchronize` and wait for `successEvent`.

## Notes

* Provide a confirmation UI before using RemoveAllKeys.
* After reset, your app should fall back to local defaults until new values are saved.


---

# 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://assetstore.essentialkit.voxelbusters.com/features/cloud-services/playmaker/use-cases/use-case-5-reset-cloud-data.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.
