bitly_update_group {urlshorteneR}R Documentation

Update a Group

Description

Update the details of a group

Usage

bitly_update_group(
  group_id = NA,
  name = NA,
  organization_id = NA,
  showRequestURL = F
)

Arguments

group_id

- a required string | A GUID for a Bitly group

name

- username to change

organization_id

- an optional string parameter | A GUID for a Bitly organization

showRequestURL

- an optional T/F value to whether show URL which has been build and requested from server. For debug purposes, default FALSE.

Group

Groups are a subdivision within an organization. A user will belong to a group within an organization. Most actions on our API will be on behalf of a group. For example, when you shorten a link, it will be on behalf of a user and a group.

See Also

https://dev.bitly.com/api-reference#updateGroup

[bitly_update_user()]

Examples

## Not run: 
ui <- bitly_user_info(showRequestURL = TRUE)
up_group <- bitly_update_group(group_id = ui$default_group_guid[1], name = "New Group Name",
organization_id = "asd")

## End(Not run)

[Package urlshorteneR version 1.5.7 Index]