---
schema_version: "1"
id: 2958464dab130fab1a3be3b4718d8b9af32f881d28e2de905cb36d2c4902c93e
title: Modify a License Record
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform-pkg-exchange/managed_packaging/guides/lma/lma-edit-license.md
canonical_url: https://developer.salesforce.com/docs/platform/pkg2-dev/guide/lma-edit-license.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 120cc84c6b6278664bc10e43680586e97ca6e153add7670f9fd0970c12aec03c
products:
  - Second-Generation Managed Packaging Developer Guide
  - merged-docs
---

# Modify a License Record

You can change a customer’s access to your offering by modifying a license record using the License Management App (LMA). For example, you can increase or decrease the number of seats included with a license or change the expiration date.

**note:** You can't use the LMA to modify licenses provisioned through AgentExchange Checkout. To modify licenses provisioned through Checkout, have your customers follow the instructions in [Add or Remove Licenses from an AgentExchange Checkout Subscription](https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/appexchange_checkout_update_seats.htm).

1.  In the LMA, locate the license.

2.  Click **Modify License**.

    When the LMA is installed, the Edit button doesn’t appear on the license page layout, and the Modify License button is included instead. This setup is intentional. You must edit license records on the Modified License page, don't attempt to edit license records directly.

3.  Update the field values as needed.

    | Field      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                            |
    | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
    | Expiration | Enter the last day that the customer can access your package, or select **Does not expire**.                                                                                                                                                                                                                                                                                                                                                           |
    | Seats      | Enter the number of licensed seats, or select **Site License** to make your package available to all users in the customer’s org. You can allocate up to 99,000,000 seats.                                                                                                                                                                                                                                                                             |
    | Status     | Select a value from the dropdown. **Trial**—Lets the customer try your offering for up to 90 days. After the trial license converts to an active license, it can’t return to a trial state. **Active**—Lets the customer use your package according to the license agreement. **Suspended**—Prohibits the customer from accessing your offering. When your offering is uninstalled, its status is set to Uninstalled, and the license can’t be edited. |

4.  Click **Save**.
