Learn R Programming

rtodoist (version 0.4.0)

invite_to_workspace: Invite user to workspace

Description

Invite user to workspace

Usage

invite_to_workspace(
  workspace_id,
  email,
  role = "member",
  verbose = TRUE,
  token = get_todoist_api_token()
)

Value

NULL (invisible)

Arguments

workspace_id

id of the workspace

email

email of the user to invite

role

role for the user (e.g., "member", "admin")

verbose

boolean that make the function verbose

token

todoist API token

Examples

Run this code
if (FALSE) {
invite_to_workspace("12345", "user@example.com")
}

Run the code above in your browser using DataLab