update_user: Polished API - Update a user

View source: R/api_02_users.R

update_userR Documentation

Polished API - Update a user

Description

Polished API - Update a user

Usage

update_user(user_uid, user_data, api_key = get_api_key())

Arguments

user_uid

the uid of the user to be updated.

user_data

list of data to update.

api_key

your Polished API key. Set your polished api key using set_api_key() so that you do not need to supply this argument with each function call.

Value

an object of class polished_api_res. When successful, the content of the polished_api_res is list(message = "success"). In the case of an error, the content is list(error = "<error message>").

See Also

get_users() add_user() delete_user()


polished documentation built on Feb. 16, 2023, 8:02 p.m.