Update Task

PATCH
/ticket/tasks/:id

Update a task

Path parameters

idstringRequired

Headers

x-revert-api-tokenstringRequired

Your official API key for accessing revert apis.

x-revert-t-idstringRequired

The unique customer id used when the customer linked their account.

x-api-versionstringOptional

Optional Revert API version you’re using. If missing we default to the latest version of the API.

Query parameters

fieldsstringOptional

Request

This endpoint expects an object.
namestringRequired

Name of the task.

assigneeslist of stringsRequired

collection of IDs belonging to assignees.

descriptionstringRequired

Description of the task.

statusenumRequired
Allowed values: openclosein_progress

Current status of the task.

priorityenumRequired
Allowed values: urgenthighmediumlowlowest

Priority of the task.

creatorIdstringRequired

ID of the task creator.

dueDatestringRequired

Due date for the given task.

completedDatestringRequired

Date at which task was completed.

parentIdstringRequired

Id of the parent task.

listIdstringRequired

Id of the list

Response

This endpoint returns an object.
status"ok" or "error"
Allowed values: okerror
messagestring
resultany