Skip to content

Commit

Permalink
feat(iam): allow updating a Member's email (#1582)
Browse files Browse the repository at this point in the history
Co-authored-by: Jules Castéran <[email protected]>
  • Loading branch information
scaleway-bot and Codelax authored Nov 19, 2024
1 parent 9daa4da commit 69d737a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -698,5 +698,6 @@ export const marshalUpdateUserRequest = (
request: UpdateUserRequest,
defaults: DefaultValues,
): Record<string, unknown> => ({
email: request.email,
tags: request.tags,
})
2 changes: 2 additions & 0 deletions packages/clients/src/api/iam/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1100,4 +1100,6 @@ export type UpdateUserRequest = {
userId: string
/** New tags for the user (maximum of 10 tags). */
tags?: string[]
/** New email for the user (only available on Members). */
email?: string
}

0 comments on commit 69d737a

Please sign in to comment.