KamoCRM

Terminate an SI from its status, status counts, no deletes on /account

FeatureSecurityService
Shipped
28 octombrie 2026 la 03:50 UTC
Author
Kamo
Commit
008e086

- An SI's Terminated status runs the SI retire lifecycle after the rest of the save (runs stopped, phone line, seat and licence released, credential and sessions revoked, tasks handed off, history kept). Needs MANAGE_AI_WORKFORCE as Retire does, plus the status's own MANAGE_MEMBER_SECURITY; an SI never terminates itself; the workstation choice rides along. Other statuses are refused in plain SI words; a terminated SI is told plainly it can't return. - GET **************** **************** customers/status-counts: one grouped, org-bounded query each. - POST members-subscribers/status (Terminate/Activate: members.is_active only, never the user; MANAGE_MEMBERS) and customers/status (Deactivate/Activate: accounts.is_active only; EDIT_ACCOUNTS or DELETE_ACCOUNTS). - members-subscribers?include=all lists terminated members for /account. - DELETE customers/{uid} is for platform operators (open god window) only.

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