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

correct remove_user_roles doc: roles param is ids, not names #359

Merged
merged 1 commit into from
Jul 18, 2022
Merged

correct remove_user_roles doc: roles param is ids, not names #359

merged 1 commit into from
Jul 18, 2022

Conversation

gbirchmeier
Copy link
Contributor

@gbirchmeier gbirchmeier commented Jul 15, 2022

Changes

Changes the doc comments for User.remove_user_roles. It erroneously says it takes role names, but it actually needs role ids.

References

See the API docs for this endpoint; in the samples sidebar it says

roles: List of roles IDs to remove from the user"

Here's a screenshot:

Screen Shot 2022-07-15 at 5 12 34 PM

Testing

This isn't a code change (just a doc change), so no tests to change/update.

Checklist

@gbirchmeier gbirchmeier requested a review from a team as a code owner July 15, 2022 22:33
@gbirchmeier gbirchmeier changed the title correct remove_user_roles doc: ids, not names correct remove_user_roles doc: roles param is ids, not names Jul 15, 2022
Copy link
Contributor

@stevehobbsdev stevehobbsdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@stevehobbsdev stevehobbsdev merged commit 255981f into auth0:master Jul 18, 2022
@gbirchmeier gbirchmeier deleted the remove_ids branch July 18, 2022 12:42
@stevehobbsdev stevehobbsdev mentioned this pull request Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants