# Using Cleanup Scripts in SaaS and Cloud Environments

Cleanup scripts are a useful tool for managing and resetting SaaS software and Cloud accounts after they have been used in a sandbox environment.

## Examples of Cleanup Script Usage

1. **SaaS Software**: If you are using your own SaaS software that requires cleanup after the sandbox is deprovisioned, a cleanup script can be used to run commands against your SaaS environment and reset it back to its default settings.
2. **Cloud Accounts**: If you are using your own Cloud accounts and need to reset them after the sandbox is used, a cleanup script can be a valuable tool.

Please note that all Google-based resources and Cloud accounts provided by Instruqt are automatically cleaned up after the track is complete. This means you do not need to worry about manually resetting these resources.

Remember to always check the specific requirements and settings of your SaaS software and Cloud accounts to ensure that the cleanup script is correctly configured and will not cause any unintended changes or data loss.


---

# 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.instruqt.com/resources/faq/using-cleanup-scripts-in-saas-and-cloud-environments.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.
