UpdatePasswordAgePolicy
Request Body
application/json
maxAgeDays?integer
Amount of days after which a password will expire. The user will be forced to change the password on the following authentication.
expireWarnDays?integer
Amount of days after which the user should be notified of the upcoming expiry. Zitadel will not notify the user.
[key: string]?never
Response Body
application/json
application/json
curl -X PUT "https://loading/policies/password/age" \ -H "Content-Type: application/json" \ -d '{}'{
"details": {
"sequence": 0,
"creationDate": "1s",
"changeDate": "1s",
"resourceOwner": "string"
}
}{
"code": "not_found",
"message": "string",
"detail": {
"type": "string",
"value": "string",
"debug": {}
}
}Was this page helpful?