Overview
The Public Policies API allows programmatic configuration of organization security policies.Policies are only available on Teams and Enterprise plans.
List Policies
Retrieve all policies for the organization.Response
string
Always “list”
array
required
Array of policy objects
Policy Object
string
required
Policy unique identifier
string
required
Policy type (see Policy Types below)
boolean
required
Whether policy is active
object
Policy-specific configuration
Get Policy
Retrieve a specific policy by ID.string
required
Policy ID
Update Policy
Enable or update a policy configuration.string
required
Policy ID
Request Body
boolean
required
Enable or disable the policy
object
Policy-specific configuration (varies by type)
Policy Types
Two-Factor Authentication
Require all members to enable 2FA.Master Password
Enforce master password requirements.Password Generator
Set minimum password generator requirements.Single Organization
Prevent members from joining other organizations.Require SSO
Require SSO authentication.Personal Ownership
Require all items to be organization-owned.Disable Send
Disable Bitwarden Send.Send Options
Control Send feature options.Reset Password
Allow admin password reset.Maximum Vault Timeout
Enforce maximum vault timeout.Examples
Enable Two-Factor Requirement
Configure Master Password Policy
Audit Policy Compliance
Automated Policy Setup
Policy Dependencies
Some policies require others:Best Practices
- Test in staging - Test policy changes with a subset of users first
- Communicate changes - Notify users before enabling policies
- Grace period - Give users time to comply before enforcement
- Monitor compliance - Check policy adherence regularly
- Document policies - Keep records of when/why policies were enabled