RecoveryPolicy
The RecoveryPolicy type of the TypeScript SDK, which accounts.setRecoveryPolicy take or answer.
type RecoveryPolicy = {
policy: ('self_service' | 'admin_only')
}Fields
| Field | Type | Description |
|---|---|---|
policy | ('self_service' | 'admin_only') | self_service: mailbox users may recover their own password. admin_only: existing codes and addresses are kept and refused, and resets come from an admin |
Used by
| Method | What it does |
|---|---|
accounts.setRecoveryPolicy | Set the account's mailbox recovery policy |