-
Notifications
You must be signed in to change notification settings - Fork 161
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
Implemented delete_user_by_email and test for connections #122
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @runz0rd! A couple of very minor docs changes then I'll approve 👍
auth0/v3/management/connections.py
Outdated
@@ -116,3 +116,17 @@ def create(self, body): | |||
""" | |||
|
|||
return self.client.post(self._url(), data=body) | |||
|
|||
def delete_user_by_email(self, id, email): | |||
"""Deletes a specified connection user by its email |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a period at the end.
auth0/v3/management/connections.py
Outdated
"""Deletes a specified connection user by its email | ||
|
||
Args: | ||
id (str): Id of the connection. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider from our docs:
The id of the connection (must be a database connection).
auth0/v3/management/connections.py
Outdated
Args: | ||
id (str): Id of the connection. | ||
|
||
email (str): The email of the user to delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a period at the end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you @runz0rd!
For #121