update_app_user: Polished API - Update an App User

View source: R/api_03_app_users.R

update_app_userR Documentation

Polished API - Update an App User

Description

Polished API - Update an App User

Usage

update_app_user(app_uid, user_uid, is_admin = FALSE, api_key = get_api_key())

Arguments

app_uid

the app uid to update.

user_uid

the user uid to update.

is_admin

boolean (default: FALSE) - whether or not the user is an admin.

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_app_users() add_app_user() delete_app_user()


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