feat: client disable/deletion with soft-delete #69
Reference in New Issue
Block a user
Delete Branch "feature/client-soft-delete"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements client soft-delete as requested in #67. Key changes:
client_statusenum (active/disabled) anddisabled_attimestamp on theclientstableGET /api/clientsdefaults to active-only (use?includeDisabled=trueto show all);PATCHacceptsstatusfield;DELETErequires?confirm=trueCloses #67
Test plan
GET /api/clientsreturns only active clients by defaultGET /api/clients?includeDisabled=truereturns all clients?confirm=trueand verify 400 response🤖 Generated with Claude Code