For vendors using Usakey

Replace a device

Deactivate a device that is no longer used so its slot can go to a new device.

Plans
Evaluation Personal Team Enterprise
Who does this
Owner Admin Member Software user

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).
Device slots and replacing a computerThe number of devices a license can use is capped by its policy (3 in this example). When all slots are in use, the new computer can't be activated. Deactivating the old computer frees one slot, and the old computer stops working at its next periodic check. The new computer can then be activated in the free slot.Before (e.g. up to 3 devices: 3 of 3)Old PCIn useIn useNew PCCan't beactivated yet (thelimit is reached)Deactivate the old computer (2 of 3)FreeIn useIn useOld PCStops at its nextperiodic checkActivate the new computer (3 of 3)New PCIn useIn useWorks on thenew computerDevice slots and replacing a computerThe number of devices a license can use is capped by its policy (3 in this example). When all slots are in use, the new computer can't be activated. Deactivating the old computer frees one slot, and the old computer stops working at its next periodic check. The new computer can then be activated in the free slot.Before (e.g. up to 3 devices: 3 of 3)Old PCIn useIn useNew PCCan't be activated yet(the limit is reached)Deactivate the oldcomputer (2 of 3)FreeIn useIn useOld PCStops at its nextperiodic checkActivate the new computer (3 of 3)New PCIn useIn useWorks on the new computer

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.

The four ways to deactivate a device, who does it, and when it can be used
WayWhoWhen it can be used
From the old computer's appUserThe old computer is at hand, and the product app has a deactivate option
From the customer portalUserTeam plan and above, and the user can sign in to the customer portal
From the new computer's appUserPersonal plan and above, you allow it in the policy, and the product app has the screens for it
From the consoleVendorAlways

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.

Four ways to deactivate the old computerIf the old computer is at hand and your product app has a deactivate option, the user deactivates it from that app. On the Team plan and above, a user who can sign in to the customer portal can deactivate it there. On the Personal plan and above, if you allow it in the policy and your product app has the screens for it, the user can release it from the new computer's app after confirming their identity with a code sent by email. You can always deactivate it from the console. Each way frees one slot so the new computer can be activated.The old computeris at hand, andthe app has adeactivate optionUserDeactivate from theold computer's appThe user can signin to the customerportal (Team planand above)UserDeactivate from thecustomer portalYou allow it in thepolicy, and theapp has thescreens (Personalplan and above)UserRelease from thenew computer'sapp after anemailed codeAlwaysVendorDeactivate fromthe consoleOne slotis freedThe newcomputer canbe activatedFour ways to deactivate the old computerIf the old computer is at hand and your product app has a deactivate option, the user deactivates it from that app. On the Team plan and above, a user who can sign in to the customer portal can deactivate it there. On the Personal plan and above, if you allow it in the policy and your product app has the screens for it, the user can release it from the new computer's app after confirming their identity with a code sent by email. You can always deactivate it from the console. Each way frees one slot so the new computer can be activated.The old computer is athand, and the app hasa deactivate optionUserDeactivate from theold computer's appThe user can sign in tothe customer portal(Team plan and above)UserDeactivate from thecustomer portalYou allow it in the policy,and the app has the screens(Personal plan and above)UserRelease from the newcomputer's app afteran emailed codeAlwaysVendorDeactivate fromthe consoleOne slot is freedThe new computercan be activated

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.

The list of registered devices in the customer portal, showing the activated device (product name, OS, registration date, and last check) and a Deactivate this device button.
The customer portal after deactivating the device. The device is no longer in the list of registered devices.

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.

Releasing a computer that isn't at hand from the new computer's appWhen activating the new computer hits the device limit, your app learns from Usakey that this flow is available. The user enters the license key and their email address, and Usakey emails a 6-digit verification code to the registered address (valid for 10 minutes). The user enters the code (and a second code if they have set up two-factor authentication); once Usakey checks it, your app receives the list of devices in use. When the user chooses the computer to release, Usakey deactivates it, activates the new computer, and emails the user a notice. The released computer stops working at its next periodic check.UserNewcomputer(app)UsakeyOldcomputerWhen the device limit is reachedEnter thelicense key andemail address1Start therelease26-digit code byemail (valid 10 min)3The code (anda second codeif two-factoris set up)4Checkthe code5Devices in use(OS, model,last check)6Release and activate the new computerChoose thecomputerto release7Release it andactivate thenew computer8Release notice (email)9Stops at its nextperiodic check10Releasing a computer that isn't at hand from the new computer's appWhen activating the new computer hits the device limit, your app learns from Usakey that this flow is available. The user enters the license key and their email address, and Usakey emails a 6-digit verification code to the registered address (valid for 10 minutes). The user enters the code (and a second code if they have set up two-factor authentication); once Usakey checks it, your app receives the list of devices in use. When the user chooses the computer to release, Usakey deactivates it, activates the new computer, and emails the user a notice. The released computer stops working at its next periodic check.When the device limit is reached1UserNew computer (app)Enter the license keyand email address2New computer (app)UsakeyStart the release3UsakeyUser6-digit code byemail (valid 10 min)4UserNew computer (app)The code (and a secondcode if two-factor is set up)5New computer (app)UsakeyCheck the code6UsakeyNew computer (app)Devices in use (OS,model, last check)Release and activatethe new computer7UserNew computer (app)Choose thecomputer to release8New computer (app)UsakeyRelease it and activatethe new computer9UsakeyUserRelease notice (email)10Old computerStops at its nextperiodic check
  1. 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).

  2. 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.

  3. 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

  1. Step 1Open the device from the license's device list

    The license page lists activated devices under Activated devices, with the time each one last checked in. Use the OS and the last check time to find the device that's no longer used, and open it.

    The list of devices registered with the license. Three devices (OS and CPU type, last check time, and IP address) are listed as activated.
  2. Step 2Review the device details

    The device details show when it was activated, its last check, changes in device information, and more. At the bottom, under Deactivate this device, select Deactivate.

    The device details page, showing the device information, activation and check times, where it connected from, and the section for deactivating the device.
  3. Step 3Enter a reason and deactivate

    Enter a Reason (recorded in the audit log) and select Deactivate. One device slot becomes free, and the device is marked as deactivated.

    The Deactivate this device confirmation, explaining that the device stops working at its next periodic check and that one device slot becomes available, with a field for the reason and a Deactivate button.
    The device details page after deactivation. The status is Deactivated.

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.

Replacing a fully offline deviceThe user makes a release file (.usakeyrel) in the product app on the old device. From then on, the old device can no longer use this license. In the product app on the new device, the user makes a request file (.usakeyreq). The two files are brought to the computer where you open the Console, for example on a USB drive. On the license page you select both and choose Release the old device and issue, which releases the old device and issues the new device's license file (.usakeylic). A release file can be used once, within 30 days of being made, and the policy sets how many moves are allowed (2 a year by default). Once the new device loads the license file, it works without going online. A refusal changes nothing, and the old device stays registered. If the old device broke and can't make a release file, deactivate it, then issue a license file for the new device.Old deviceYou(Console)New deviceThe user makes two filesMake a release file(.usakeyrel). Fromthen on, the old devicecan't use the license1Make a requestfile (.usakeyreq)2Bring them to the Console computer, for example on a USB driveRelease file3Request file4One operation in the ConsoleSelect both andchoose “Release theold device and issue”.A release file worksonce, within 30 days.The policy setsthe moves peryear (default 2)5New device's licensefile (.usakeylic)6Load it and use itwithout going online7A refusal changes nothing, and the old device staysregistered. If the old device broke and can't make a releasefile, deactivate it, then issue a license file for the new device.Replacing a fully offline deviceThe user makes a release file (.usakeyrel) in the product app on the old device. From then on, the old device can no longer use this license. In the product app on the new device, the user makes a request file (.usakeyreq). The two files are brought to the computer where you open the Console, for example on a USB drive. On the license page you select both and choose Release the old device and issue, which releases the old device and issues the new device's license file (.usakeylic). A release file can be used once, within 30 days of being made, and the policy sets how many moves are allowed (2 a year by default). Once the new device loads the license file, it works without going online. A refusal changes nothing, and the old device stays registered. If the old device broke and can't make a release file, deactivate it, then issue a license file for the new device.The user makes two files1Old deviceMake a release file(.usakeyrel). Fromthen on, the old devicecan't use the license2New deviceMake a requestfile (.usakeyreq)Bring them to theConsole computer, forexample on a USB drive3Old deviceYou (Console)Release file4New deviceYou (Console)Request fileOne operation in the Console5You (Console)Select both andchoose “Release theold device and issue”.A release file worksonce, within 30 days.The policy sets the movesper year (default 2)6You (Console)New deviceNew device's licensefile (.usakeylic)7New deviceLoad it and use itwithout going onlineA refusal changesnothing, and the olddevice stays registered.If the old device brokeand can't make arelease file, deactivateit, then issue a licensefile for the new device.
One operation in the Console releases the old device and issues a file for the new one.
  1. 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.

  2. 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.

  3. 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.