---
title: "Updates a Subproject"
method: PUT
path: "/api/2026-10-01/resources/project_management/subprojects/{id}"
tags: ["ProjectManagement > Subproject"]
---

# Updates a Subproject

`PUT /api/2026-10-01/resources/project_management/subprojects/{id}`

## Request

- Base URL: `https://api.factorialhr.com`
- URL: `https://api.factorialhr.com/api/2026-10-01/resources/project_management/subprojects/{id}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://id.factorialhr.com/oauth/authorize`
    - Token URL: `https://id.factorialhr.com/api/oauth/token` scopes: `project_management_projects`
  - API key in header `x-api-key`

###### **What does it do?**
This updates the subproject details.

## Path parameters

- `id` string, required

## Request body

- object
  - `id` string, required: The id of the subproject.
  - `name` string, required: The name of the subproject.
  - `description` string: The description of the subproject.
  - `status` 'active' | 'closed' | 'draft' | 'processing', required: The status of the subproject.
  - `code` string: The code of the subproject.
  - `start_date` string: The start date of the subproject.
  - `due_date` string: The due date of the subproject.

## Response `200`

OK

- ProjectManagementSubproject
  - `id` string: The id of the subproject
  - `name` string, required: The name of the subproject
  - `project_id` string, required: The id of the project
  - `inputed_minutes` integer: The total minutes tracked in the subproject (if requested)
  - `labor_cost_cents` integer: The total labor cost of the subproject in cents (if requested)
  - `description` string: The description of the subproject
  - `status` 'active' | 'closed' | 'draft' | 'processing', required: The status of the subproject
  - `code` string: The code of the subproject
  - `start_date` string: The start date of the subproject
  - `due_date` string: The due date of the subproject
  - `is_billable` boolean: Whether the subproject is billable

## Changes

- **2026-11-03** `83ac9aa1de50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factorialhr/apis/factorial-api/changes/api/2026-10-01/resources/project_management/subprojects/:id/put.md)

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
