The Password Management REST APIs provide a means to manage passwords and account state. Methods are provided for updating passwords, checking password quality requirements, generating one-time passwords, and retrieving account state information. All of these REST methods require bearer token authentication.
This API is currently experimental, and subsequent versions may not be backward compatible with this version. Users of this experimental version are encouraged to provide feedback for consideration in later versions of the API.
The password quality requirements for a particular user.
Attribute | Description | Data Type |
---|---|---|
currentPasswordRequired | True if the user's password is required for password updates. | Boolean |
mustChangePassword | True if the user's password must be changed. | Boolean |
secondsUntilPasswordExpiration | The number of seconds before the password will expire. | Integer |
passwordRequirementResults | A list of password requirements that must be met. | array[PasswordRequirementResult] |
Password requirement results generated during a password update operation, or when requesting password quality requirements.
Attribute | Description | Data Type |
---|---|---|
display | The human-readable description of the password requirement. | String |
type | The type of password requirement. | String |
requirementSatisfied | True if this requirement was satisfied. False if not. (Only applicable for password update) | Boolean |
failureMessage | The message associated with this failure. (Only applicable for password update) | String |
Request object for updating user passwords.
Attribute | Description | Data Type |
---|---|---|
currentPassword | The user's current password. | String |
newPassword | The requested new password for the user. | String |
Information about the results of a password update operation.
Attribute | Description | Data Type |
---|---|---|
generatedPassword | The password generated during the password update operation. | String |
Attribute | Description | Data Type |
---|---|---|
preferredDeliveryMechanisms | The delivery mechanisms to use for delivering the password reset token in order of preference. | array[DeliveryMechanism] |
fullText | The text that should appear in the message delivered to the user by a delivery mechanism that does not impose significant constraints on the message size. | TokenText |
compactText | The text that should appear in the message delivered to the user by a delivery mechanism that imposes significant constraints on the message size. | TokenText |
messageSubject | The text (if any) that should be used as the message subject if the delivery mechanism accepts a subject. | String |
Attribute | Description | Data Type |
---|---|---|
name | The delivery mechanism requested or used (depending on the context) for delivering one-time passwords | String |
recipient | The recipient address (email address, phone number) requested or used (depending on the context) for delivering one-time passwords. | String |
supported | True if the delivery mechanism is supported, or false if it is not (set when information is returned about delivery mechanisms). | Boolean |
Attribute | Description | Data Type |
---|---|---|
before | The text that should appear before the token. | String |
after | The text that should appear after the token. | String |
Attribute | Description | Data Type |
---|---|---|
deliveryMechanism | The delivery mechanism used. | DeliveryMechanism |
message | Message containing information about the delivery of the one-time password. | String |
Attribute | Description | Data Type |
---|---|---|
preferredDeliveryMechanisms | The delivery mechanisms to use for delivering the password reset token in order of preference. | array[DeliveryMechanism] |
secondsUntilExpiration | The number of seconds that the token is valid. After the token expires, it cannot be successfully consumed. | Integer |
fullText | The text that should appear in the message delivered to the user by a delivery mechanism that does not impose significant constraints on the message size. | TokenText |
compactText | The text that should appear in the message delivered to the user by a delivery mechanism that imposes significant constraints on the message size. | TokenText |
messageSubject | The text (if any) that should be used as the message subject if the delivery mechanism accepts a subject. | String |
deliverIfPasswordExpired | true if the token should be delivered if the password is expired. | Boolean |
deliverIfAccountLocked | true if the token should be delivered if the account is locked. | Boolean |
deliverIfAccountDisabled | true if the token should be delivered if the account is disabled. | Boolean |
deliverIfAccountExpired | true if the token should be delivered if the account is expired. | Boolean |
Attribute | Description | Data Type |
---|---|---|
accountDisabled | True if the account is disabled, or false if not. Set to null to clear. | Boolean |
accountExpirationTime | Time of account expiration. Set to null to clear. | Date |
secondsUntilAccountExpiration | Seconds until account is expired. | Integer |
passwordChangedTime | Password changed time. Set to null to clear. | Date |
passwordExpirationWarnedTime | Password expiration warned time. Set to null to clear. | Date |
secondsUntilPasswordExpiration | Seconds until password will expire. | Integer |
authenticationFailureTimes | The date and time of previous authentication failures. | array[Date] |
secondsUntilAuthenticationFailureUnlock | Seconds until authentication failure unlock. | Integer |
remainingAuthenticationFailureCount | Remaining authentication failure count. | Integer |
lastLoginTime | Last login time. Set to null to clear. | Date |
secondsUntilIdleLockout | Seconds until idle lockout. | Integer |
mustChangePassword | Must change password. | Boolean |
secondsUntilPasswordResetLockout | Seconds until password reset lockout. | Integer |
graceLoginTimes | Times of previous grace logins. | array[Date] |
remainingGraceLoginCount | Remaining grace login count. | Integer |
passwordChangedByRequiredTime | Password change by required time. Set to null to clear. | Date |
secondsUntilRequiredChangeTime | Seconds until require change time. | RetiredPassword |
passwordHistory | Password history. Set to null to clear. | array[String] |
Attribute | Description | Data Type |
---|---|---|
passwordRetiredTime | The time that the password was retired. | Date |
passwordExpirationTime | The expiration time of the password. | Date |