Learn R Programming

rtodoist (version 0.4.0)

update_project: Update a project

Description

Update a project

Usage

update_project(
  project_id = get_project_id(project_name = project_name, token = token, create = FALSE),
  project_name,
  new_name = NULL,
  color = NULL,
  is_favorite = NULL,
  view_style = NULL,
  verbose = TRUE,
  token = get_todoist_api_token()
)

Value

id of the updated project (invisible)

Arguments

project_id

id of the project

project_name

name of the project (for lookup if project_id not provided)

new_name

new name for the project

color

new color for the project

is_favorite

boolean to mark as favorite

view_style

view style ("list" or "board")

verbose

boolean that make the function verbose

token

todoist API token

Examples

Run this code
if (FALSE) {
update_project(project_name = "my_proj", new_name = "new_name")
}

Run the code above in your browser using DataLab