bitly_update_user {urlshorteneR} | R Documentation |
Update your name and/or default group ID
Description
This will overwrite your (display) username and/or group ID you belong to.
Usage
bitly_update_user(default_group_guid = NULL, name = "", showRequestURL = FALSE)
Arguments
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
User operations such as changing your name or fetching basic user information apply only to the authenticated user.
Note
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.
See Also
https://dev.bitly.com/api-reference/#updateUser
Examples
## 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)
[Package urlshorteneR version 1.5.7 Index]