powered by
Update a task
update_task( task_id, content = NULL, description = NULL, priority = NULL, due_string = NULL, due_date = NULL, labels = NULL, verbose = TRUE, token = get_todoist_api_token() )
id of the updated task (invisible)
id of the task to update
new content/title for the task
new description for the task
priority (1-4, 4 being highest)
due date as string (e.g., "tomorrow", "every monday")
due date as date (format: YYYY-MM-DD)
vector of label names
boolean that make the function verbose
todoist API token
if (FALSE) { update_task("12345", content = "Updated task name") }
Run the code above in your browser using DataLab