# Entitlements

An entitlement is a named feature of your application, such as PDF export. A policy or a license grants entitlements, and your application unlocks a feature when the license has its entitlement.

Entitlements belong to your account, not to one product. Policies of different products can grant the same entitlement.

## Entitlement properties

| Property | Description |
| --- | --- |
| Code | The value that your application checks for, such as `PRO`. Each entitlement in your account needs its own code. |
| Name | The name of the feature. The License API returns it, so your application can show it. |
| Description | A sentence that says what the entitlement unlocks. Only the dashboard shows it. This property is optional. |

## Policies and licenses

A license gets entitlements from two places:

| Source | Behavior |
| --- | --- |
| Policy | Every license of the policy gets the entitlement. |
| License | Only this license gets the entitlement. It adds to the entitlements of the policy. |

- The License API returns both sets as one list. An entitlement that both grant appears once.
- A license cannot remove an entitlement of its policy. A license also cannot move to another policy. To give a customer fewer entitlements, issue a new license from a policy that grants fewer.

## Example

A policy grants `PRO`. One license of that policy also grants `BETA`.

| License | Entitlements |
| --- | --- |
| The license that grants `BETA` | `BETA` and `PRO` |
| Every other license of the policy | `PRO` |

## Entitlements in your application

Your application reads the entitlements of a license from the License API.

| Request | Entitlements |
| --- | --- |
| [Claim](../../license-api/licenses/claim/) | The response holds the entitlements of the license. |
| [Validate](../../license-api/licenses/validate/) | The response holds the entitlements of the license. |
| [Check out](../../license-api/licenses/check-out/) | The license file holds the entitlements of the license. |

- Each claim and validate returns the current entitlements. A change applies at the next request.
- If the License API refuses a request, the list of entitlements is empty.
- A license file keeps the entitlements that the license had at check-out. To get a change, check out a new file. See [License files](../licenses/#license-files).

## Deletion

Deletion is permanent. An entitlement cannot be deleted while a policy or a license grants it. It must be removed from each of them first.

