Update Policy
POST/api/passwordpolicy/updatepolicy
Tier: Internal — subject to change without notice.
Replaces a password policy's rule fields. The request body is the full
Password.PasswordPolicyDetailDto (including Id) rather than a dedicated
update DTO; on success the same DTO is echoed back verbatim rather than a fresh read.
Request
Responses
- 200
- 400
- 401
- 403
Returns {policyDto} unchanged.
Unknown id (NotFound), update failure, or caller is an agent token with no resolvable user id (InvalidReference/"UserId") — error array.
Caller is not authenticated.
Caller lacks LocafiModule.Administration Update.