4. Seat Deactivation
When a customer wants to move their software license to another computer—or exercise erasure/cleanup on a device they are retiring—the current machine’s seat must be released.
Seatling supports two deactivation paths:
- In-App SDK Deactivation (when the user still has access to the computer).
- Customer Portal Deactivation (when the old computer is broken, sold, or wiped).
Path 1: In-App SDK Deactivation
Section titled “Path 1: In-App SDK Deactivation”Provide a “Deactivate This Computer” button inside your software’s Preferences or Account settings and call deactivate() on your Seatling SDK client.
Under the hood, the SDK:
- Signs an Ed25519 deactivation proof (
seatling-deactivate-v2+jwt) bound to the device’sseat_idandhwidand sends it toPOST /v1/licenses/deactivate. - Atomically releases the seat slot on Seatling’s servers so it is immediately available for another machine.
- Clears the stored local
.seatlinglease from disk and transitions the in-memory authorization state to unactivated.
[!TIP] GDPR Storage Limitation & Erasure (Art. 5(1)(e) & Art. 17): Exposing an in-app “Deactivate This Computer” control gives end users a direct, 1-click way to remove their device’s seat binding from Seatling and purge the local
.seatlinglease file from their machine.
SDK Deactivation Examples
Section titled “SDK Deactivation Examples”// Releases seat on server via signed Ed25519 deactivation proof and clears local leaseconst released = await seatling.deactivate();console.log('Seat released:', released);released, err := client.Deactivate()if err == nil && released { fmt.Println("✓ Seat released and local lease cleared")}client.deactivate()?;println!("✓ Seat released and local lease cleared");if (client.deactivate()) { std::cout << "✓ Seat released and local lease cleared" << std::endl;}Path 2: Customer Portal (portal.seatling.app)
Section titled “Path 2: Customer Portal (portal.seatling.app)”If the user has sold their computer, dropped it, or formatted their drive, they cannot use the in-app button.
Direct them to:
https://portal.seatling.appThe buyer enters their email or license key, receives a passwordless magic link, and clicks “Deactivate” next to the old device. The seat is instantly freed up without any action required from you.