hipchat_delete_room: Delete a Hipchat room.

Description Usage Arguments Value Examples

View source: R/room.R

Description

Delete a Hipchat room.

Usage

1
hipchat_delete_room(room_name_or_id, confirm = TRUE, api_token = api_token)

Arguments

room_name_or_id

character or integer.

confirm

logical. Whether or not to ask for a confirmation message before deleting the room. By default, TRUE. (Deleting rooms is dangerous!)

api_token

character. By default, hipchat_api_token().

Value

TRUE or FALSE according as the room was deleted.

Examples

1
2
3
4
5
6
## Not run: 
   hipchat_create_room('Example room')
   hipchat_delete_room('Example room') # Will ask a confirmation message.
   hipchat_delete_room('Example room', confirm = FALSE) # Dangerous! No confirmation.

## End(Not run)

robertzk/hipchat documentation built on May 27, 2019, 10:34 a.m.