Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk User Imports - I can't Use upsert as a paramater for the importUsers feature #353

Closed
migueliriano opened this issue Aug 9, 2019 · 3 comments · Fixed by #354
Closed
Milestone

Comments

@migueliriano
Copy link

Description

I'm not able to set the parameter upsert when I try to import a list of users using the method importUsers

Use case

When I'm importing a list of users I would like to set the parameter upsert to update pre-existing users that match on the email address.

When the problem started

When I tried to set the parameter upsert to the importUsers method, I realized that I can't set this parameter, the only parameters allowed are: $file_path and $connection_id

Prerequisites

[x] I have checked the README documentation.

[x] I have checked the Auth0 Community for related posts.

[x] I have checked for related or duplicate Issues and PRs.

[x] I have read the Auth0 general contribution guidelines.

[x] I have read the Auth0 Code of Conduct.

Environment

Please provide the following:

  • Version of Auth0-PHP used: 5.5
  • Version of PHP used: 7.3.4

Reproduction

Feature: https://auth0.com/docs/users/guides/bulk-user-imports

Method:

public function importUsers($file_path, $connection_id)

I want to use the parameter upsert

upsert_parameter

@joshcanhelp
Copy link
Contributor

@migueliriano - Thank you for the detailed report here! It looks like this endpoint is missing a number of options. I'll add this to our backlog and make sure it gets taken care of.

@pinodex
Copy link
Contributor

pinodex commented Aug 19, 2019

I need to set the send_completion_email parameter as well. I'll send a PR adding those parameters to the request.

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants