add_role {polished} | R Documentation |
Polished API - Add a Role
Description
Polished API - Add a Role
Usage
add_role(role_name, api_key = get_api_key())
Arguments
role_name |
a role name. |
api_key |
your Polished API key. Set your polished api key using |
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
[Package polished version 0.8.1 Index]