KamoCRM

Retiring an SI takes the admin's choice for its workstation — Delete now, Delete after N days, or Keep

FeatureSecurityService
Shipped
October 11, 2026 at 11:10 PM UTC
Author
Kamo
Commit
7d2f833

Owner decision 2026-10-11. POST /members/{id}/ai/retire accepts {workstation: KEEP|DELETE_NOW|DELETE_AFTER, deleteAfterDays: 1-365, default 7}; no body or no workstation is KEEP, so every caller that predates the choice behaves as before. A deleting choice also needs MANAGE_HOSTED_COMPUTERS (the Computers tab's Delete right), checked before anything is retired; a bad choice is a 400 naming the field. The choice is named in the AI_RETIRED audit row and sent to ComputeService only AFTER the retire committed (RetiredWorkstationRelay): a failure leaves the workstation kept and the answer's workstationChoice.applied false. GET /members/{id}/ai/workstation lists the SI's workstations with their pending deletion (for whoever may retire it or manage computers; canManage says whether Delete now and Keep are theirs), and POST **************** is that Delete now / Keep, behind MANAGE_HOSTED_COMPUTERS.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing