Class ChangeUserPasswordRequest
Request body for POST /users/{id}/changepassword (self-service, old-password-verified).
public sealed record ChangeUserPasswordRequest : IChangeUserPasswordRequest
- Inheritance
-
objectChangeUserPasswordRequest
- Implements
Constructors
ChangeUserPasswordRequest(string?, string)
Request body for POST /users/{id}/changepassword (self-service, old-password-verified).
public ChangeUserPasswordRequest(string? OldPassword, string NewPassword)
Parameters
OldPasswordstringThe user's current password, which authorizes the change. A null one is refused like an empty one.
NewPasswordstringThe new password. Has to meet the server's password policy.
Properties
NewPassword
The new password. Has to meet the server's password policy.
[JsonPropertyName("newPassword")]
public string NewPassword { get; init; }
Property Value
- string
OldPassword
The user's current password, which authorizes the change. A null one is refused like an empty one.
[JsonPropertyName("oldPassword")]
public string? OldPassword { get; init; }
Property Value
- string