Home > @opengovsg/logging > AccountDeactivatedInput
AccountDeactivatedInput interface
Input for UserManagementAudit.accountDeactivated().
Signature:
typescript
export interface AccountDeactivatedInput extends AuditInputBaseExtends: AuditInputBase
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| reason? | string | (Optional) Why the account was deactivated, e.g. admin_action, inactivity. | |
| targetUserId | string | The account deactivated. Emitted as context.target_user_id. |