v1

latestOpenAPI 3.0.32026-08-0613775357.6 KB
subtasks

Update subtask

Updates the matching subtask.

put/projects/{project_id}/assignments/{assignment_id}/subtasks/{subtask_id}

Request body

idinteger

The unique identifier for the subtask.

assignment_idinteger

The ID of the assignment to which this subtask belongs.

assignable_idinteger

The ID of the project, phase, or leave type to which the the assignment applies.

descriptionstring

Identifies the subtask.

completedboolean

This is true if the subtask is done; otherwise, it's false.

updated_atstring date-time

The time of the last update.

created_atstring date-time

The time of creation.

updated_byinteger

The ID of the user who last updated this subtask.

Example request

{
  "id": 6789012345,
  "assignment_id": 5612,
  "assignable_id": 1234,
  "description": "Assess risks",
  "updated_at": "2025-08-27T12:00:00Z",
  "created_at": "2025-08-27T12:00:00Z",
  "updated_by": 1234567
}

Response

The updated subtask.

idinteger

The unique identifier for the subtask.

assignment_idinteger

The ID of the assignment to which this subtask belongs.

assignable_idinteger

The ID of the project, phase, or leave type to which the the assignment applies.

descriptionstring

Identifies the subtask.

completedboolean

This is true if the subtask is done; otherwise, it's false.

updated_atstring date-time

The time of the last update.

created_atstring date-time

The time of creation.

updated_byinteger

The ID of the user who last updated this subtask.

Example response

{
  "id": 6789012345,
  "assignment_id": 5612,
  "assignable_id": 1234,
  "description": "Assess risks",
  "updated_at": "2025-08-27T12:00:00Z",
  "created_at": "2025-08-27T12:00:00Z",
  "updated_by": 1234567
}