Skip to main content

Flag a managed local account for password rotation

POST 

/computers/:computerId/managed-sids/:adminSid/force-password-rotation

Marks the account so its password is rotated at the next scan of the computer (sets force_expiry on the managed SID, visible in the computer details).

No request body.

Checks run in this order: domain controller (422 PasswordManagementNotSupportedError); Offline Access Management policy enabled (422 Offline Access Management is not enabled); the account is in the admin inventory (422 Invalid Admin ID); the account has managed-password state (422 Admin has no passwords to rotate).

Same role gating as the password retrieval endpoint: superadmin and admin; user only with the policy flag jita_or_persistent_users_can_access_passwords and as a system administrator of the computer (403 otherwise). The built-in secureone account gets a 500 error (generic {error} body) after the flag is already saved. Use a token for a directory user. Only POST is routed (GET is 405).

Required role: superadmin or admin; user only with the OAM policy flag and system-administrator status.

Request​

Responses​

Rotation flagged.