For vendors using Usakey
Replace a device
Deactivate a device that is no longer used so its slot can go to a new device.
How replacing works
The number of devices a license can use is capped by its policy (for example, up to 3). When a user gets a new computer, deactivating the old device frees a slot so the new device can be activated.
- A deactivated device stops working at its next periodic check.
- Deactivating doesn't block the device for good. If it activates again with the same license key, it can take any free slot. To stop it from being used, suspend or revoke the license (see Turn a license off and on).
There are four ways to deactivate an old device. If the old computer is at hand, deactivating it from its own app is the simplest.
| Way | Who | When it can be used |
|---|---|---|
| From the old computer's app | User | The old computer is at hand, and the product app has a deactivate option |
| From the customer portal | User | Team plan and above, and the user can sign in to the customer portal |
| From the new computer's app | User | Personal plan and above, you allow it in the policy, and the product app has the screens for it |
| From the console | Vendor | Always |
The two ways users deactivate (the customer portal and the new computer's app) are counted together for each user: once every 15 minutes and 3 times a day.
Deactivate from the old computer's app
If the old computer is at hand, the user can deactivate it from that computer's product app (the option is named differently in each product, for example "Deactivate this computer"). One device slot becomes free at once, and the user can activate the new computer with the same license key.
- This option exists only when it is built into the product app. See Add license checks to your app.
- A computer that loaded an offline license file keeps its slot until that file expires.
- This kind of deactivation is not recorded in the activity log. The device page shows the device as deactivated.
Users deactivate from the customer portal
In the customer portal, Registered devices lists the devices the user activated. The user can select Deactivate this device (two-factor verification is required). Point your users to Get your license from the customer portal.


Users release from the new computer's app
When the old computer is broken, lost, or otherwise not at hand, the user can release it from the new computer's product app. When the new computer reaches the device limit, the user proves who they are with the license key and a code sent to their email address, then chooses the computer to release from the list of devices in use. The license key alone cannot release another computer.
-
Step 1Allow it on the policy's page
On the policy details page, find Device replacement by users and select Allow. Device release is disabled by default. When you save, the change applies immediately to licenses issued under that version. You can make the same change to a retired version. Saving does not create a new policy version. To disable device release, select Stop allowing in the same section.
For a per-user policy, the code goes to the license user's email address. Users who set up two-factor authentication also enter their second factor, and users can release only their own devices. For a license key policy, the code goes to the email address registered for the license's customer, and the license's devices can be released. Licenses without such an address cannot use it.
It is available on the Personal plan and above. A fully offline perpetual policy cannot allow it, because its issued offline files cannot be revoked. The same setting can also be changed with the Management API (
PATCH /mgmt/v1/policies/{id}/device-release) and from an AI assistant connection (MCP). -
Step 2Build the screens for this flow into the product app
The product app needs screens for entering the license key and email address, the code, and the two-factor code, and a list of the devices in use. The functions of the official SDKs (every language, and iOS / Android) send the requests to Usakey and verify the responses. See Add license checks to your app and the developer documentation.
-
Step 3Tell users what to do
Point your users to Verify your license with your email address. After each release, Usakey emails the user. The email tells them to contact the vendor if they did not do it.
Deactivate from the console
-
Step 1Open the device from the license's device list
-
Step 2Review the device details
-
Step 3Enter a reason and deactivate
Check how a device was released
The page of a deactivated device has a How it was released section that shows when, by whom, and how it was released. When a user released it from the new computer's app, it also shows the address used to verify the user and whether two-factor authentication was checked. A device deactivated from its own app has no record.
- The activity log shows "A user removed a device activation from the product app".
- To be notified by webhook, select "When a user removes a device activation" in the endpoint's settings. Deactivations from the customer portal send the same kind of notification.
- The same record is available from the Management API (
GET /mgmt/v1/activations/{id}/deactivation) and from an AI assistant connection (MCP).
Replace a fully offline device
A device that cannot reach the internet keeps using its license file until it expires, even after you deactivate it. So the old device makes a release file (.usakeyrel), and one operation releases the old device and issues a file for the new one.
-
Step 1Make a release file on the old device
Ask the user to make the release file in the product app, for example with "Release this PC to move the license". From then on, the old device can no longer use this license. The name of the operation depends on the product.
-
Step 2Make a request file on the new device
Ask the user to make a request file (
.usakeyreq) in the product app on the new device. Bring both files, for example on a USB drive, to the computer where you open the Console. -
Step 3Select both files in the Console and issue
On the license page, open Move to another device, select both files and select Release the old device and issue. The new device's license file (
.usakeylic) is downloaded. Give it to the new device and load it there.
- The policy's Offline device moves per year sets how many moves are allowed. The default is 2, and 0 disables moves. The license page shows the moves left under Move to another device.
- A release file can be used once, within 30 days of being made. A changed file, another device's file, a used file or an expired file is refused. A refusal changes nothing, and the old device stays registered.
- If the old device broke and cannot make a release file, deactivate it with the steps above, then issue a license file for the new device.
- Whether the license file is really gone from the old device is judged from the release file. It cannot rule out a copied disk, so the yearly limit and the activity log are the safeguards.
How the files are exchanged, and how to move a license with the Management API or MCP, is in Step 3: move to another device in the developer documentation.
Ask AI to implement or configure
Copy the instruction for your task and paste it into an AI assistant connected to MCP. You can also select the same task from the MCP prompt list. See the product integration page for connection steps. Add license checks to your app
End-user device replacement
Use the Usakey MCP server and distributed skills for this task. First read the relevant skill VERSION, SKILL.md and references below. If the local MCP cannot serve resources, read the same files from the distribution ZIP advertised by the connected server. Confirm product, environment, language and existing settings; never invent missing values. Use the official SDK in product apps and never embed a Management API key. Keep management operations within the approved access and plan. Keep secrets out of chat, screens and logs. Write expected behavior as tests before implementation and report actual verification and unverified surfaces.
Implement the screens and official SDK calls for end users to replace a device: deactivate this device, enter the license key and email, verify the email code and second factor, select and release an unavailable old device, and activate the new one. Follow SDK availability flags and retry delays. Display OS, model and last check time; keep IDs, handles and tokens out of screens and logs. Test P1-P5 and R1-R9, saved state and restart. Before changing seller settings, identify the policy and affected licenses.
References
skill://usakey-auth-integration/references/product-app-screens.md
skill://usakey-auth-integration/references/device-release.md
skill://usakey-auth-integration/references/state-and-testing.md
Management tools for configuration and checks
get_policy_device_release
update_policy_device_release
get_activation_deactivation
Fully offline licensing
Use the Usakey MCP server and distributed skills for this task. First read the relevant skill VERSION, SKILL.md and references below. If the local MCP cannot serve resources, read the same files from the distribution ZIP advertised by the connected server. Confirm product, environment, language and existing settings; never invent missing values. Use the official SDK in product apps and never embed a Management API key. Keep management operations within the approved access and plan. Keep secrets out of chat, screens and logs. Write expected behavior as tests before implementation and report actual verification and unverified surfaces.
Implement request-file export and license-file import for a device that never connects. Check Team or above and target SDK support. Initial license-file issuance is available through local MCP, the Console or the Management API, not hosted MCP; hosted MCP supports rehosting. Keep private keys out of files. Verify signatures, product/device binding and expiry; test tampering, another device, expiry, clock rollback and restart.
References
skill://usakey-auth-integration/references/offline-and-rust.md
skill://usakey-auth-integration/references/language-bindings.md
skill://usakey-auth-integration/references/state-and-testing.md
Management tools for configuration and checks
issue_offline_license_package
Transferring a fully offline license
Use the Usakey MCP server and distributed skills for this task. First read the relevant skill VERSION, SKILL.md and references below. If the local MCP cannot serve resources, read the same files from the distribution ZIP advertised by the connected server. Confirm product, environment, language and existing settings; never invent missing values. Use the official SDK in product apps and never embed a Management API key. Keep management operations within the approved access and plan. Keep secrets out of chat, screens and logs. Write expected behavior as tests before implementation and report actual verification and unverified surfaces.
Implement fully offline license transfer using the old device release proof and new device request file. Verify old-device disablement, transfer limits and replay recovery. Distinguish this from online deactivation and explain contacting the seller when the old device cannot be used.
References
skill://usakey-auth-integration/references/offline-and-rust.md
Management tools for configuration and checks
get_policy_offline_rehosts
rehost_offline_license
License suspension, resumption and devices
Use the Usakey MCP server and distributed skills for this task. First read the relevant skill VERSION, SKILL.md and references below. If the local MCP cannot serve resources, read the same files from the distribution ZIP advertised by the connected server. Confirm product, environment, language and existing settings; never invent missing values. Use the official SDK in product apps and never embed a Management API key. Keep management operations within the approved access and plan. Keep secrets out of chat, screens and logs. Write expected behavior as tests before implementation and report actual verification and unverified surfaces.
Identify the license and devices and prepare the requested suspension, resumption or deactivation. Obtain target-specific confirmation for irreversible revocation. Verify app behavior in the test environment, tenant/product/environment boundaries and delayed propagation to disconnected devices.
References
skill://usakey-auth-integration/references/outcome-matrix.md
skill://usakey-auth-integration/references/state-and-testing.md
skill://usakey-auth-integration/references/device-release.md
Management tools for configuration and checks
get_license
suspend_license
resume_license
revoke_license
list_activations
deactivate_activation
get_activation_deactivation
Screenshots were taken in a test environment with sample data. IDs such as product IDs, license keys, and activation tokens are masked. Some details may change as we improve the screens.



