Skip to Content

The RecoveryPolicy type of the TypeScript SDK, which accounts.setRecoveryPolicy take or answer.

type RecoveryPolicy = {
  policy: ('self_service' | 'admin_only')
}

Fields

FieldTypeDescription
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

MethodWhat it does
accounts.setRecoveryPolicySet the account's mailbox recovery policy

On this page