View source: R/bitly_user_app_info.R
bitly_update_user | R Documentation |
This will overwrite your (display) username and/or group ID you belong to.
bitly_update_user(default_group_guid = NULL, name = "", showRequestURL = FALSE)
default_group_guid |
- group id to change, see NOTE |
name |
- username to change |
showRequestURL |
- an optional T/F value to whether show URL which has been build and requested from server. For debug purposes, default FALSE. |
User operations such as changing your name or fetching basic user information apply only to the authenticated user.
Applies only to the authenticated user: Changing group/org ID is only permitted to premium users. Thus, if you are a "free" user and will try to change your default group id to something else, you will get an error. In that case, only changing display name is permitted.
https://dev.bitly.com/api-reference/#updateUser
## Not run:
# this applies only for "free" users
uu <- bitly_update_user(name = "Malc")
# if you are premium user, you can additionally adjust your group id
uug <- bitly_update_user(name = "Malc", default_group_guid = "TestGroupID")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.