postUsersIDPassword method
Future<void>
postUsersIDPassword(
- String userID,
- PasswordResetBody passwordResetBody, {
- String? zapTraceSpan,
Update a password
Parameters:
-
String userID (required): The user ID.
-
PasswordResetBody passwordResetBody (required): New password
-
String zapTraceSpan: OpenTracing span context
Implementation
Future<void> postUsersIDPassword(
String userID, PasswordResetBody passwordResetBody,
{String? zapTraceSpan}) async {
final response = await postUsersIDPasswordWithHttpInfo(
userID, passwordResetBody,
zapTraceSpan: zapTraceSpan);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}