This endpoint updates the project details.
Body
Required
-
Updated project name.
-
Updated project description.
-
Set to "true" to archive the project, "false" to unarchive. Send as form string.
Values are
trueorfalse. -
Enable or disable automatic milestones. Send as "true" or "false".
Values are
trueorfalse. -
Subteam ID (shortid) to move the project to. Omit to keep current.
-
Access type: public (0), limited (1), personal (2). Send as form string.
Values are
0,1, or2. -
Default task view: table, calendar, swimlane, kanban, timeline, report.
Values are
table,calendar,swimlane,kanban,timeline, orreport. -
Comma-separated or JSON list of disabled widget names (e.g. milestones, tasks, discussion).
-
Milestone rollup configuration. Sent as string when using form-data.
-
Primary hex color for the project.
-
Secondary hex color for the project.
-
Short custom identifier (2–5 characters). Used in task IDs and URLs.
Minimum length is
2, maximum length is5. -
Order of list view columns. Comma-separated or JSON.
-
Query all files scope. Send as "true" or "false".
Values are
trueorfalse.
curl \
--request PUT 'https://openapi.niftypm.com/api/v1.0/projects/{project_id}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: multipart/form-data" \
--form "name=Q2 Marketing Campaign" \
--form "description=Updated campaign scope for Q2." \
--form "archived=false" \
--form "auto_milestones=true" \
--form "subteam_id=Jh3f8k" \
--form "access_type=0" \
--form "default_tasks_view=table" \
--form "disabled_widgets=string" \
--form "hidden_taskboard_fields=string" \
--form "milestones_rollup=string" \
--form "color=#4A90D9" \
--form "secondary_color=#E74C3C" \
--form "nice_id=MK" \
--form "hidden_list_columns=string" \
--form "list_columns_order=status,assignee,dueDate" \
--form "query_all_files=true"
{
"message": "Project created successfully",
"id": "Jh3f8k"
}