> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dashlink.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Set shortlink expiration

> How to expire a shortlink at a date and time, and optionally redirect to an expiration URL afterward.

Link expiration stops the normal destination after a date and time you choose. You can send later visitors to an optional **expiration URL**.

## Prerequisites

* Your plan includes link expiration.

## Steps

**1. Open create or edit**

Expand **Link Expiration**, or edit with `section=expiration` from the list expiration action.

**2. Enable expiration**

Turn the section on and set the date and time (local timezone helper is shown in the form).

**3. Optional expiration URL**

Enter a URL to use after expiry. If you leave it blank, expired clicks follow the product default for expired links.

**4. Save**

Create or update the shortlink.

![Link expiration fields on Create Shortlink](https://mintcdn.com/dashlink/dI1L7IwD_tmvTbZR/images/help/shortlinks/expiration.png?fit=max\&auto=format\&n=dI1L7IwD_tmvTbZR\&q=85\&s=fa2db3e5aa91412688e6ed62d55e7f07)

## Related

* [Edit a shortlink](https://docs.dashlink.ai/help/shortlinks/edit.md)
* API: [Expiration](https://docs.dashlink.ai/guides/links/expiration.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.