space_member_remove: Remove Members

View source: R/members.R

space_member_removeR Documentation

Remove Members

Description

Removes members.

Usage

space_member_remove(space, users, content_action = NULL, ask = TRUE)

## S3 method for class 'numeric'
space_member_remove(space, users, content_action = NULL, ask = TRUE)

## S3 method for class 'character'
space_member_remove(space, users, content_action = NULL, ask = TRUE)

## S3 method for class 'data.frame'
space_member_remove(space, users, content_action = NULL, ask = TRUE)

Arguments

space

A space object created using rscloud_space().

users

ID number or email of the user to be removed, or a data frame with either a user_id or email column.

content_action

What to do with the users content after they are removed from the space. Options for the content are to: "leave" leaving the content where it is, "archive" moving the content to the space archive, and "trash" moving the content to the spaces trash.

ask

Whether to ask user for confirmation of deletion.


rstudio/rscloud documentation built on Oct. 8, 2022, 4:24 p.m.