Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/clients/src/api/iam/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,12 @@ export class API extends ParentAPI {
unmarshalUser,
)

/**
* Update an user's password.
*
* @param request - The request {@link UpdateUserPasswordRequest}
* @returns A Promise of User
*/
updateUserPassword = (request: Readonly<UpdateUserPasswordRequest>) =>
this.client.fetch<User>(
{
Expand Down
6 changes: 6 additions & 0 deletions packages/clients/src/api/iam/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1079,8 +1079,14 @@ export type UpdateSSHKeyRequest = {
}

export type UpdateUserPasswordRequest = {
/** ID of the user to update. */
userId: string
/** The new password. */
password: string
/**
* Whether or not to send an email alerting the user their password has
* changed.
*/
sendEmail: boolean
}

Expand Down