auth/admin_action_specs.ts view source
{ method: string; kind: "request_response"; initiator: "frontend"; auth: { account: "required"; actor: "required"; }; side_effects: true; input: ZodDefault<ZodObject<{ account_id: ZodOptional<ZodNullable<$ZodBranded<ZodUUID, "Uuid", "out">>>; acting: ZodOptional<...>; }, $strict>>; output: ZodObject<...>; async: tru... import {account_delete_action_spec} from '@fuzdev/fuz_app/auth/admin_action_specs.js'; Soft-delete an account (reversible tombstone). Self-or-admin: the
caller may delete their own account; deleting another requires the
admin role (handler-enforced elevation). No admin_ prefix — the
privilege lives in the auth check, not the name, so self-service
deletion stays open (delete = soft, purge = hard).