Skip to main content

Update Password Age Settings

PUT 

/policies/password/age

Updates the default password complexity settings configured on the instance. It affects all organizations, that do not have a custom setting configured. The settings specify the expiry of password, after which a user is forced to change it on the next login.

Request​

Body

required

    maxAgeDays int64

    Amount of days after which a password will expire. The user will be forced to change the password on the following authentication.

    expireWarnDays int64

    Amount of days after which the user should be notified of the upcoming expiry. ZITADEL will not notify the user.

Responses​

default password age policy updated

Schema

    details

    object

    sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    creationDate date-time

    on read: the timestamp of the first event of the object

    on create: the timestamp of the event(s) added by the manipulation

    changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the

    resourceOwner resource_owner is the organization an object belongs to (string)
Loading...