| update_filter | R Documentation |
Update a filter
update_filter(
filter_id = get_filter_id(filter_name = filter_name, token = token),
filter_name,
new_name = NULL,
query = NULL,
color = NULL,
is_favorite = NULL,
verbose = TRUE,
token = get_todoist_api_token()
)
filter_id |
id of the filter |
filter_name |
name of the filter (for lookup if filter_id not provided) |
new_name |
new name for the filter |
query |
new query string |
color |
new color |
is_favorite |
boolean to mark as favorite |
verbose |
boolean that make the function verbose |
token |
todoist API token |
id of the updated filter (invisible)
## Not run:
update_filter(filter_name = "Urgent Today", query = "today & p1 & #Work")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.