PUT api/tasks/{id}
Updates the details of an existing project task.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the task to be updated. |
integer |
Required |
Body Parameters
The updated task details including name, description, start/end dates, and status.
SDTaskObject| Name | Description | Type | Additional information |
|---|---|---|---|
| name |
Name\Title of the task |
string |
None. |
| description |
Description of the Task |
string |
None. |
| status |
Status of the Task |
string |
None. |
| startDate |
Start date for the task |
date |
None. |
| endDate |
End date for the task, used to calcualte due date |
date |
None. |
| projectName |
Task Project Name |
string |
None. |
| assignedUsers |
List of User ID's that this task is assigned to |
Collection of integer |
None. |
| assignedGroups |
List of Group ID's that this task is assigned to |
Collection of integer |
None. |
Request Formats
application/json, text/json, application/scim+json
Sample:
{
"name": "sample string 1",
"description": "sample string 2",
"status": "sample string 3",
"startDate": "2025-11-21T03:18:53.9154368+00:00",
"endDate": "2025-11-21T03:18:53.9154368+00:00",
"projectName": "sample string 6",
"assignedUsers": [
1,
2
],
"assignedGroups": [
1,
2
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
On success: HTTP 200 OK. On failure: HTTP 403 Forbidden if access is denied, or HTTP 400 Bad Request if the update fails.
None.