# Setting Tenant expiration

## Managing Tenant Expiration

In the DuploCloud Portal, configure an expiration time for a Tenant. At the set expiration time, the Tenant and associated resources are deleted.

1. In the DuploCloud Portal, navigate to **Administrator** -> **Tenants**. The **Tenants** page displays.
2. From the **Name** column, select the Tenant for which you want to configure an expiration time.<br>

   <figure><img src="/files/O5TuUvvl5lQFK8EryIn7" alt=""><figcaption><p>The <strong>Tenants</strong> details page <strong>Action</strong> menu with <strong>Set Tenant Expiration</strong> selected.</p></figcaption></figure>
3. From the **Actions** list box, select **Set Tenant Expiration**. The **Tenant - Set Tenant Expiration** pane displays.<br>

   <div align="left"><figure><img src="/files/PZlaMEEiqBIVOB6qP7Ni" alt=""><figcaption><p>The <strong>Tenant - Set Tenant Expiration</strong> pane</p></figcaption></figure></div>
4. Select the **date** and **time** (using your local time zone) when you want the Tenant to expire.
5. Click **Set**. At the configured day and time, the Tenant and associated resources will be deleted.

{% hint style="info" %}
The **Set Tenant Expiration** option is not available for **Default** or **Compliance** Tenants.
{% endhint %}


---

# 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.duplocloud.com/docs/automation-platform/overview/use-cases/tenant-environment/tenant-expiry.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.
