> For the complete documentation index, see [llms.txt](https://docs.personify.be/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.personify.be/concepts/entitlement-expiration.md).

# Entitlement expiration

Entitlement expiration is a crucial tool in modern identity management.&#x20;

Setting an expiry date on the validity of certain relationships forces people to take **action** to extends their privileges.&#x20;

For identities that left the company for example, and where processes fail to clean up assigned privileges, expiration is a golden tool.

<figure><img src="/files/FHZqHX0rsSVvuktfARqG" alt=""><figcaption><p>example of a entitlement assignment with temporal constraint</p></figcaption></figure>

Of course it leads to a certain discomfort because it generates some extra actions.

Notifications are crucial in this case.

Therefore there is a entitlement expiration scheduler that can be configured for notifying identities and/or organisation administrators at certain **predefined timestamps before entitlement expiration**.

Two flavours of the EntitlementExpirationScheduler are configurable.  \
One where the identities of which the entitlements are going expire, are notified.\
And one where the organisation administrators are notified.

A sample configuration can be found in the schedulers section under the system tab.

Following configuration notifies identities of their expiring entitlements, 10 days and one day up front. \
But not for the entitlement ADMIN and not when the identities have expiring entitlements for organisation AAA

```
{
    "type" : "IDENTITY", 
    "notificationInterval" : "10,1", 
    "entitlementInclusionFilter" : "*", 
    "entitlementExclusionFilter" : "ADMIN", 
    "organisationInclusionFilter" : "*", 
    "organisationExclusionFilter" : "AAA"
}
```

Following configuration notifies organisation administrators of identities with expiring entitlements, 10 days and one day up front. \
But not for the entitlement ADMIN.

```
{
    "type" : "ADMIN_ORG", 
    "notificationInterval" : "10,1", 
    "entitlementInclusionFilter" : "*", 
    "entitlementExclusionFilter" : "ADMIN"
}
```


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.personify.be/concepts/entitlement-expiration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
