Sync user archive across all interfaces

Align user-removal UX and API surface semantics with the new archive\nbehavior for manually managed users.\n\nFrontend copy and actions now use archive wording, and list rows are\nrefetched after the mutation so archived users reappear as inactive.\n\nMCP removeUser now documents and returns archived_user_id, n8n labels\nand response mapping now use archive semantics, and the CLI gains a\nuser archive command backed by the same mutation.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
Cursor Agent
2026-05-27 00:50:28 +00:00
committed by Bryan Frimin
parent ebe9cc0e65
commit 23070b18b5
9 changed files with 152 additions and 31 deletions

View File

@@ -1709,16 +1709,16 @@ components:
description: Organization ID
profile_id:
$ref: "#/components/schemas/GID"
description: User (profile) ID to remove
description: User (profile) ID to archive
RemoveUserOutput:
type: object
required:
- deleted_user_id
- archived_user_id
properties:
deleted_user_id:
archived_user_id:
$ref: "#/components/schemas/GID"
description: Deleted user (profile) ID
description: Archived user (profile) ID
GetProfileInput:
type: object
@@ -11934,7 +11934,7 @@ tools:
outputSchema:
$ref: "#/components/schemas/UpdateMembershipOutput"
- name: removeUser
description: Remove a user from the organization
description: Archive a user in the organization
hints:
readonly: false
inputSchema: