Skip to main content

Enable, disable, or configure Offline Access Management on a computer

POST 

/computers/:computerId/offline-access-management

Sets the computer's Offline Access Management (OAM) policy, which creates and manages an alternate local administrator account, optionally disables the built-in administrator, and rotates their passwords. Only POST is routed.

enabled is required and must be a boolean (or true/false when urlencoded); anything else is 422 Invalid value. "enabled" must be true or false. If the computer already has an OAM strategy and the body contains only enabled, just the on/off state changes. Otherwise the policy is rebuilt from strategy (default os-best-practice; an unknown value is 422):

Strategyuse_alternate_adminmanage_built_in_admin_passworddisable_built_in_adminjita_or_persistent_users_can_access_passwords
os-best-practicetrue (fixed)true (fixed)true (fixed)false (fixed)
managed-built-infalse (fixed)true (fixed)false (fixed)optional, default false
customrequiredrequiredrequiredoptional, default false

For the two named strategies, supplying a boolean that contradicts a fixed value returns 422 One or more conflict with named strategy: [<field>]; for os-best-practice that includes jita_or_persistent_users_can_access_passwords: true. For custom, the three required booleans must be present, manage_built_in_admin_password cannot be false unless use_alternate_admin is true, and disable_built_in_admin cannot be true unless use_alternate_admin is true.

break_glass_account_name_template defaults to S1_ALT_ADMIN. Each ? is replaced with a random letter or digit (for example FXBG_???? gives FXBG_kmNI); * is not a wildcard. The chosen name is stored as break_glass_account_name and is kept while the template still matches it.

Not supported on domain controllers (422 PasswordManagementNotSupportedError), and cannot be enabled while Scan is disabled for the computer (422 PasswordManagementNotSupportedError, 'Cannot enable Offline Access Management policy when Scan is disabled.'); disabling while Scan is off succeeds.

Required role: superadmin or admin.

Request​

Responses​

Policy saved.