> For the complete documentation index, see [llms.txt](https://docs.duplocloud.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplocloud.com/docs/automation-platform/overview-2/use-cases/tenant-environment/tenant-expiry.md).

# Tenant expiry

Manage Tenant expiry settings in the DuploCloud Portal

## 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="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FFldBmEfm2IzJlKaYM6jo%2FScreenshot%20(228).png?alt=media&amp;token=d1185cf5-127a-43d7-8d25-45d1d59bb81e" alt=""><figcaption><p>The <strong>Tenant</strong> details page with <strong>Set Tenant Expiration</strong> highlighted</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="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FBKnYZ2XjtzqPtIHkTslC%2Ften%20expir%20pane.png?alt=media&amp;token=61bcf619-d210-491b-b6c1-4dd49fd60f01" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.duplocloud.com/docs/automation-platform/overview-2/use-cases/tenant-environment/tenant-expiry.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
