| update_task | R Documentation |
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()
)
task_id |
id of the task to update |
content |
new content/title for the task |
description |
new description for the task |
priority |
priority (1-4, 4 being highest) |
due_string |
due date as string (e.g., "tomorrow", "every monday") |
due_date |
due date as date (format: YYYY-MM-DD) |
labels |
vector of label names |
verbose |
boolean that make the function verbose |
token |
todoist API token |
id of the updated task (invisible)
## Not run:
update_task("12345", content = "Updated task name")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.