ClockNext: archive unit
clocknext_archive_unitRetire a unit type by deactivating it in your catalogue, keeping usage and existing plans intact while stopping new plan additions. Reversible via reactivation.
Instructions
Deactivate a unit TYPE in your catalogue (sets isActive→false) — ClockNext's soft archive, NOT a delete. The unit and its recorded usage are kept; existing plans metering it keep working. It simply can't be added to new plans and drops out of active lists. Reversible: reactivate via clocknext_update_unit with isActive:true (a full rewrite) — there is no separate un-archive tool. Use ONLY to retire a unit you no longer sell. This does NOT delete anything and is unrelated to archiving a customer or ending a purchase.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unit id to deactivate (soft-archive — reversible, not a delete). |