Docs

Update Task

PUT /tasks/{taskId}

PUT/tasks/{taskId}

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Updates all fields of an existing task. When parentId or index changes, sibling indices are automatically recalculated. Parent cycles and dependency cycles are both rejected.

Requires EventProjectManagementAdmin permission on the event.

Path Parameters

FieldTypeRequiredDescription
taskIdGuidRequiredThe task to update.

Request Body

FieldTypeRequiredDescription
namestringRequiredTask name.
statusIdGuidRequiredID of the task status. Must exist.
startDateTimeDateTime?OptionalScheduled start date.
endDateTimeDateTime?OptionalScheduled end date.
descriptionstringOptionalTask description.
prioritystringOptionalPriority level.
indexintRequiredDisplay order position (1-based).
parentIdGuid?OptionalParent task ID, or `null` for top-level. Must not create a cycle.
phaseIdGuid?OptionalPhase ID, or `null`.
assigneesAssigneeListOptionalUsers and collaborators to assign.
reviewerIdsGuid[]OptionalUser IDs to assign as reviewers.
attributesAttribute[]OptionalCustom attribute values. All required attributes must be supplied.
dependsOnGuid[]OptionalTask dependency IDs. Must not create a cycle.

AssigneeList

FieldTypeDescription
userIdsGuid[]User IDs to assign.
collaboratorIdsGuid[]Collaborator IDs to assign.

Attribute

FieldTypeRequiredDescription
attributeIdGuidRequiredThe attribute definition ID.
valuestringRequiredThe value to set.