diff --git a/components/fctl/cmd/cloud/organizations/users/update.go b/components/fctl/cmd/cloud/organizations/users/update.go index e113f8351f..a54d7f51b8 100644 --- a/components/fctl/cmd/cloud/organizations/users/update.go +++ b/components/fctl/cmd/cloud/organizations/users/update.go @@ -61,7 +61,7 @@ func (c *UpdateController) Run(cmd *cobra.Command, args []string) (fctl.Renderab roles := []string{} roles = append(roles, args[1:]...) - response, err := apiClient.DefaultApi.UpdateOrganizationUser( + response, err := apiClient.DefaultApi.UpsertOrganizationUser( cmd.Context(), organizationID, args[0]).RequestBody(roles).Execute()