Skip to main content

UpdateProjectArgs

type UpdateProjectArgs = {
color?: ColorKey;
description?: string;
folderId?: string | null;
isFavorite?: boolean;
name?: string;
viewStyle?: ProjectViewStyle;
};

Arguments for updating a project.

See​

https://developer.todoist.com/api/v1/#tag/Projects/operation/update_project_api_v1_projects__project_id__post

Properties​

color?​

optional color: ColorKey;

description?​

optional description: string;

Updated project description (Markdown). Pass an empty string to clear it. Omit this field to keep it unchanged.


folderId?​

optional folderId: string | null;

Folder to move the project into. Only supported for workspace projects. Pass null to clear the value. Omit this field to keep it unchanged.


isFavorite?​

optional isFavorite: boolean;

name?​

optional name: string;

viewStyle?​

optional viewStyle: ProjectViewStyle;