update_user: Update a user

Description Usage Arguments Value Examples

View source: R/user.R

Description

The endpoint: https://auth0.com/docs/api/management/v2#!/Users/patch_users_by_id can be used to update user details given the user_id.

Usage

1
update_user(user_id, ...)

Arguments

user_id

The user_id of the user to update.

...

Parameters that should be updated in user data.

Value

Answer from the Auth0 API as aut0_api object.

Examples

1
2
3
4
5
6
7
## Not run: 
## Update user metadata
update_user("google-oauth2|123213", user_metadata = list(key = "value"))
## Update user email_verified and user_metadata
update_user("google-oauth2|123213", user_metadata = list(key = "value"), email_verified = TRUE)

## End(Not run)

Appsilon/auth0api documentation built on Dec. 10, 2019, 12:09 a.m.