Polished API - Get Role(s)
get_roles(role_uid = NULL, api_key = getOption("polished")$api_key)
an optional role uid.
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.
an object of class polished_api_res
. The "content" of the object is a
tibble of users(s) with the following columns:
uid
role_name
created_at