# Maintenance Period

Adding a maintenance period for a license gives you an additional timestamp to work with beyond the validity period/expiry date of the license.

For example, if you wish to issue a license that never expires, but you wanted to charge for updates, you would set the license type to `perpetual` and just set a maintenance period expiry date.

### Add a Maintenance Period to a New or Existing License

Go to the license detail page (or "add product page" if you are issuing a new license), and check the box "enable maintenance period".

You can select "maintenance duration" if you would like to set an end date once the license has been activated, or you can specify the end date with a calendar day.

{% hint style="info" %}
If you set a "maintenance duration" on an already activated license, the count-down will begin using the current date. If the license is not yet activated, the maintenance will only start counting once the license has been activated.
{% endhint %}

![Enabling Maintenance Period](/files/ceff4c29b4c090e8bfcfdcd875e588fd3f52f0c1)

{% hint style="info" %}
You can also add a maintenance window on a license policy, but given that the license is not being issued, LicenseSpring would not know when to set an end date, and therefore only a "maintenance duration" can be set.
{% endhint %}

![Enabling Maintenance Period on License Policy](/files/947417879b4bd20112d0b594b3eb5d34c2cef1dc)


---

# 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.licensespring.com/license-entitlements/maintenance-period.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.
