View source: R/api_03_app_users.R
| add_app_user | R Documentation |
Polished API - Add a User to an App
add_app_user( app_uid, user_uid = NULL, email = NULL, is_admin = FALSE, send_invite_email = FALSE, api_key = get_api_key() )
app_uid |
the app uid. |
user_uid |
an optional user uid for the user to be invited to the app. |
email |
an optional email address for the user to be invited to the app. |
is_admin |
boolean (default: |
send_invite_email |
boolean - whether or not to send the user an invite email notifying them they have been invited to access the app. |
api_key |
your Polished API key. Set your polished api key using |
supply either the user_uid or email. If both are provided, then
the user_uid will be used, and the email will be ignored.
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>").
get_app_users() update_app_user() delete_app_user()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.