add_role | R Documentation |
Polished API - Add a Role
add_role(role_name, api_key = get_api_key())
role_name |
a role name. |
api_key |
your Polished API key. Set your polished api key using |
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_roles()
delete_role()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.