Learn R Programming

urlshorteneR (version 2.0.0)

bitly_update_user: 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.

See Also

Examples

Run this code
if (FALSE) {
bitly_bearerToken("access token")
# 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")
}

Run the code above in your browser using DataLab